现在我有
<!-- 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>
有没有我可以告诉ANT查看eclipse的.classpath并找出外部罐子?