tags:

views:

42

answers:

1

Right now I have

<!-- Classpath declaration -->
 <path id="project.classpath">
  <fileset dir="${lib.dir}">
   <include name="**/*.jar" />
   <include name="**/*.zip" />
  </fileset>    
 </path>


<!-- Compile Java source -->
 <target name="compile" depends="clean">
  <mkdir dir="${build.dir}" />
  <javac srcdir="${src.java.dir}" destdir="${build.dir}" nowarn="on">
   <classpath refid="project.classpath" />
  </javac>
 </target>

Is there someway I can tell ANT to look into the eclipse's .classpath and figure out the external jars?

+4  A: 

this is what you look for:

http://www.ant4eclipse.org/

daedlus
http://www.ant4eclipse.org/node/6
daedlus