Displaying Classpath in ANT
Here’s a sample code by which one can display the classpath
<path id=”test.classpath“>
<path path=”${test.dir}”/>
<fileset dir=”${config.dir}/lib”>
<include name=”*-all.jar” />
</fileset>
</path>
<property name=”current.test.classpath” refid=”test.classpath“/>
<echo level=”info”> message=”test.classpath=${current.test.classpath}” </echo>
Written by Ravi Nallakukkala on October 17th, 2007 with no comments.
Read more articles on Build.