From: KLIS Yann Date: Mon, 18 Oct 2004 09:20:26 +0200 Subject: RE : [Sync4j-users] Eclipse and Java IDE To: sync4j-users@lists.sourceforge.net Hi, This is how I integrated the sync4j source code into Eclipse: 1. Pull the source code out of the cvs with the integrated cvs plugin of Eclipse 2. When it asks you for a new project, choose "new project from template" and then "Java project" 3. In the newly created project, define a new "source folder" pointing to src/java/ (btw, you could define a new output folder too) 4. Define a new "external tool" which is the ant build.xml file 5. Add all the jars in the lib directory to the "build path" 6. Add the Ant jar (ant.jar), and the jar of the J2EE SDK (j2ee.jar) 7. Define a new JRE so it recognize the assert keyword (step by step configuration here http://jroller.com/page/jduska/20040715) 8. Edit the sync4j-build.properties file from your home directory with the right parameters depending on your configuration For example, mine is like that: sunj2eesdk-rootdir=c:/Sun/AppServer jdom.jar=c:/jar/jdom.jar junit.jar=c:/jar/junit.jar cactus.home=c:/jar/jakarta-cactus dbms=mysql jdbc.classpath=c:/jar/mysql-connector-java-3.0.14-production-bin.jar jdbc.driver=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://localhost/sync4j jdbc.user=sync4j jdbc.password=sync4j server=jboss server.jboss.deploy=c:/dev/jboss-3.0.8/server/default/deploy From the different parameters, you can deduce the software to install :) Then you can call "ant build" to build the entire project and "ant deploy" to deploy in the J2EE Application Server That's all in fact ;-) ++ yk