开发者

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

开发者 https://www.devze.com 2023-01-01 06:37 出处:网络
Right now I have <!-- Classpath declaration --> <path id=\"project.classpath\"> <fileset dir=\"${lib.dir}\">

Right now I have

<!-- Classpath declaration -->
 <path id="project.classpath">
  <fileset dir="${lib.dir}">
   <include name="**/*.jar" />
   <include name="**/*.zip" />
  </fileset>    
 &开发者_运维百科lt;/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?


this is what you look for:

http://www.ant4eclipse.org/

0

精彩评论

暂无评论...
验证码 换一张
取 消