Skip to content

Instantly share code, notes, and snippets.

@dustinmarx
Created May 2, 2019 04:59
Ant build.xml Using pathconvert
<project name="ShowPaths" default="showPaths" basedir=".">
<path id="classpath">
<pathelement path="C:\groovy-2.4.0\lib"/>
<pathelement location="C:\lib\tika-1.7\tika-app-1.7.jar"/>
</path>
<target name="showPaths">
<pathconvert property="classpath.path" refid="classpath" />
<echo message="classpath = ${classpath.path}" />
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment