Ant Paths(I)
1 March 2008If you specify the PATH and the CLASSPATH type references using any of this, that is “:” and “;” as a separator characters, Ant can convert the separator to the correct character of the operating system in the use.
A nested element can be used wherever path like values need to be specified. See the example below.
<classpath>
<pathelement path="${classpath}"/>
<pathelement location="lib/helper.jar"/>
</classpath>The path attribute is intended to be used with predefined paths. The path attribute accepts colon or semicolon separated lists of locations. In any other case, several other elements with location attributes should be preferred.
As a shortcut, the
<classpath>
<pathelement path="${classpath}"/>
</classpath>can be shortened to:
<classpath path="${classpath}"/>Related Posts:
- No related posts
Top Of Page | Trackback
If you found this page useful, consider linking to it. Simply copy and paste the code below into your web site.
It will look like this: Ant Paths(I)