1.下载COMPIERE253A-SOURCE FROM WWW.COMPIERE-CHINA.COM;
2.在compiere-all 目录下新建.classpath 文件内容如下:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="base/src"/>
<classpathentry kind="src" path="serverApps/src/main/servlet"/>
<classpathentry kind="src" path="serverRoot/src/main/server"/>
<classpathentry kind="src" path="client/Src"/>
<classpathentry kind="src" path="dbPort/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 excluding="main/servlet/|main/servlet/" kind="src" path="serverApps/src"/>
<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="client/lib/RXTXcomm.jar"/>
<classpathentry kind="lib" path="client/lib/Serial.jar"/>
<classpathentry kind="lib" path="lib/postgresql.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/bsh-1.3.0.jar"/>
<classpathentry kind="lib" path="tools/lib/commons-net-1.4.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/j2ee.jar"/>
<classpathentry kind="lib" path="tools/lib/jconn3.jar"/>
<classpathentry kind="lib" path="tools/lib/jpayment.jar"/>
<classpathentry kind="lib" path="tools/lib/jsp-api.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/postgresql.jar"/>
<classpathentry kind="lib" path="tools/lib/servlet-api.jar"/>
<classpathentry kind="lib" path="tools/lib/standard.jar"/>
<classpathentry kind="lib" path="tools/lib/Verisign.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="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/jaxen.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/dom4j.jar"/>
<classpathentry kind="lib" path="jboss/lib/log4j-boot.jar"/>
<classpathentry kind="lib" path="jboss/lib/namespace.jar"/>
<classpathentry kind="lib" path="jboss/lib/webdavlib.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
3.在compiere-all 目录下新建.project 文件内容如下:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>C-253a</name>
<comment>from compiere-china20051215</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>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
4.从ECLIPSE 3.1.1SDK IMPORT PROJECT UNDER compiere-all;