Can I ask ANT to look into .classpath for external jars?

Posted by kunjaan on Stack Overflow See other posts from Stack Overflow or by kunjaan
Published on 2010-05-29T18:05:21Z Indexed on 2010/05/29 18:12 UTC
Read the original article Hit count: 165

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about java

Related posts about ant