Is it possible to have Ant print out the classpath for a particular target? If so, how?
Use the pathconvert
task to convert a path to a property
<path id="classpath">....</path><pathconvert property="classpathProp" refid="classpath"/><echo>Classpath is ${classpathProp}</echo>
This is even easier with versions of Ant > 1.6
<echo>${toString:classpath}</echo>
See http://ant.apache.org/manual/using.html#pathshortcut for more information