开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜