关闭

COMPIERE2.5.3b源代码部署步骤

标签: pathencodingeclipsejbossjavaxml
1400人阅读 评论(6) 收藏 举报
分类:

COMPIERE2.5.3b源代码部署步骤

1.把取得的源代码解压缩到一个文件夹里面,比如compiere-all

2.根据下面提供的.project和.classpath文件,把他们拷贝到compiere-all文件夹中
3.在Eclipse里面使用向导新建一个项目,比如compiere-src,并把这个项目的本地目录指向文件夹compiere-all.(创建的项目会有错误提示,这里可以先不管它).
4.进入utils_dev 目录,将myDevEnvTemplate.bat 文件复制一份副本并改为myDevEnv.bat.
! 修改 SET JAVA_HOME= XXXX 为本机的JAVA_HOME路径
!! 修改 SET COMPIERE_SOURCE= XXXXX 为本机的Compiere源代码目录.
5.运行utils_dev 目录下的RUN_build.bat 文件,启动ANT 编译过程.
6.编译程序会在C:盘生成一个Compiere2这个文件夹,把这个文件夹的lib子文件夹覆盖粘贴到compiere-all目录下.
7.在Eclipse中刷新项目,并把lib文件夹中的jar包添加到构建路径中.

用到的两个文件:

.project

 <?xml version="1.0" encoding="UTF-8" ?>

- <projectDescription>
  <name>C-253b</name>
  <comment />
- <projects>
  <project>base</project>
  <project>looks</project>
  <project>client</project>
  <project>dbPort</project>
  <project>extend</project>
  <project>install</project>
  <project>interfaces</project>
  <project>jboss</project>
  <project>print</project>
  <project>server</project>
  <project>serverApps</project>
  <project>serverRoot</project>
  <project>tools</project>
  </projects>
- <buildSpec>
- <buildCommand>
  <name>org.eclipse.jdt.core.javabuilder</name>
  <arguments />
  </buildCommand>
  </buildSpec>
- <natures>
  <nature>org.eclipse.jdt.core.javanature</nature>
  </natures>
  </projectDescription>

 

.classpath

<?xml version="1.0" encoding="UTF-8" ?>
- <classpath>
  <classpathentry kind="src" path="base/src" />
  <classpathentry kind="src" path="dbPort/src" />
  <classpathentry kind="src" path="client/Src" />
  <classpathentry kind="src" path="extend/src" />
  <classpathentry kind="src" path="install/src" />
  <classpathentry kind="src" path="interfaces/src" />
  <classpathentry kind="src" path="looks/src" />
  <classpathentry kind="src" path="print/src" />
  <classpathentry kind="src" path="serverApps/src/main/servlet" />
  <classpathentry kind="src" path="serverRoot/src/main/server" />
  <classpathentry kind="src" path="sqlj/src" />
  <classpathentry kind="src" path="tools/Src" />
  <classpathentry kind="lib" path="lib/compiereRoot.jar" />
  <classpathentry kind="lib" path="data/seed/Compiere.jar" />
  <classpathentry kind="lib" path="jboss/server/compiere/lib/jboss.jar" />
  <classpathentry kind="lib" path="lib/jPDF.jar" />
  <classpathentry kind="lib" path="tools/lib/activation.jar" />
  <classpathentry kind="lib" path="tools/lib/ant.jar" />
  <classpathentry kind="lib" path="tools/lib/ant-commons-net.jar" />
  <classpathentry kind="lib" path="tools/lib/ant-launcher.jar" />
  <classpathentry kind="lib" path="tools/lib/j2ee.jar" />
  <classpathentry kind="lib" path="tools/lib/jconn3.jar" />
  <classpathentry kind="lib" path="tools/lib/jstl.jar" />
  <classpathentry kind="lib" path="tools/lib/jTDS3.jar" />
  <classpathentry kind="lib" path="tools/lib/jtds-1.0.jar" />
  <classpathentry kind="lib" path="tools/lib/junit.jar" />
  <classpathentry kind="lib" path="tools/lib/log4j.jar" />
  <classpathentry kind="lib" path="tools/lib/mail.jar" />
  <classpathentry kind="lib" path="tools/lib/ocrs12.jar" />
  <classpathentry kind="lib" path="tools/lib/ojdbc14.jar" />
  <classpathentry kind="lib" path="tools/lib/standard.jar" />
  <classpathentry kind="lib" path="tools/lib/Verisign.jar" />
  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER" />
  <classpathentry kind="lib" path="jboss/server/compiere/lib/jmx-adaptor-plugin.jar" />
  <classpathentry kind="lib" path="jboss/server/compiere/lib/jnpserver.jar" />
  <classpathentry kind="lib" path="jboss/lib/commons-httpclient.jar" />
  <classpathentry kind="lib" path="jboss/lib/commons-logging.jar" />
  <classpathentry kind="lib" path="jboss/lib/concurrent.jar" />
  <classpathentry kind="lib" path="jboss/lib/getopt.jar" />
  <classpathentry kind="lib" path="jboss/lib/gnu-regexp.jar" />
  <classpathentry kind="lib" path="jboss/lib/jboss-common.jar" />
  <classpathentry kind="lib" path="jboss/lib/jboss-jmx.jar" />
  <classpathentry kind="lib" path="jboss/lib/jboss-system.jar" />
  <classpathentry kind="lib" path="jboss/lib/log4j-boot.jar" />
  <classpathentry kind="lib" path="jboss/lib/webdavlib.jar" />
  <classpathentry kind="lib" path="lib/CCTools.jar" />
  <classpathentry kind="lib" path="lib/Compiere.jar" />
  <classpathentry kind="lib" path="lib/compiereApps.jar" />
  <classpathentry kind="lib" path="lib/CSTools.jar" />
  <classpathentry kind="lib" path="lib/jboss.jar" />
  <classpathentry kind="lib" path="lib/oracle.jar" />
  <classpathentry kind="lib" path="lib/ibm.jar" />
  <classpathentry kind="lib" path="lib/sqlServer.jar" />
  <classpathentry kind="lib" path="lib/sybase.jar" />
  <classpathentry kind="lib" path="tools/lib/bsh-1.3.0.jar" />
  <classpathentry kind="lib" path="tools/lib/commons-collections-3.1.jar" />
  <classpathentry kind="lib" path="tools/lib/commons-logging.jar" />
  <classpathentry kind="lib" path="tools/lib/commons-net-1.4.0.jar" />
  <classpathentry kind="lib" path="tools/lib/jpayment.jar" />
  <classpathentry kind="lib" path="tools/lib/jsp-api.jar" />
  <classpathentry kind="lib" path="tools/lib/servlet-api.jar" />
  <classpathentry kind="lib" path="tools/lib/xdoclet-1.2.3.jar" />
  <classpathentry kind="lib" path="tools/lib/xdoclet-ejb-module-1.2.3.jar" />
  <classpathentry kind="lib" path="tools/lib/xdoclet-web-module-1.2.3.jar" />
  <classpathentry kind="lib" path="tools/lib/xdoclet-xdoclet-module-1.2.3.jar" />
  <classpathentry kind="lib" path="tools/lib/xjavadoc-1.1.jar" />
  <classpathentry kind="lib" path="client/lib/Serial.jar" />
  <classpathentry kind="lib" path="client/lib/RXTXcomm.jar" />
  <classpathentry kind="output" path="bin" />
  </classpath>


0
0

猜你在找
【直播】机器学习&数据挖掘7周实训--韦玮
【套餐】系统集成项目管理工程师顺利通关--徐朋
【直播】3小时掌握Docker最佳实战-徐西宁
【套餐】机器学习系列套餐(算法+实战)--唐宇迪
【直播】计算机视觉原理及实战--屈教授
【套餐】微信订阅号+服务号Java版 v2.0--翟东平
【直播】机器学习之矩阵--黄博士
【套餐】微信订阅号+服务号Java版 v2.0--翟东平
【直播】机器学习之凸优化--马博士
【套餐】Javascript 设计模式实战--曾亮
查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:1700次
    • 积分:31
    • 等级:
    • 排名:千里之外
    • 原创:1篇
    • 转载:0篇
    • 译文:0篇
    • 评论:6条
    文章存档
    最新评论