Dereferencing a classpath

To print out a classpath by reference, with components separated by new lines:

<pathconvert property="cp" 
    dirSep="${file.separator}"
    pathSep="${line.separator}" 
    refid="the.class.path">
</pathconvert>

<echo message="classpath: ${cp}"/>

Tags

ant

<< All Articles