Ant : debugging

To see what is in a PATH or CLASSPATH is...

convert path to a property then print the property
<target name="debug">
<path id="path.p">
<fileset dir="src_dir">
<include name="**/*.java"/>
</fileset>
</path>
<property name="prop.a" refid="path.p"/>
<echo>${prop.a}</echo>
</target>