<pathconvert>
The <pathconvert> task produces a single path value from a nested path, path reference, or fileset reference. The format of the path output can be specified, which is useful when you need paths formatted for a particular target machine that is not necessarily the same platform as the host running the script. The list of <pathconvert> attributes is provided in Table 4.65.
Attributes (Required) | Description |
---|---|
dirsep (required if pathsep and targetos are not specified) | The character(s) to use as the directory separator in the converted paths. Defaults to current JVM File.separator. |
pathsep (required if dirsep and targetos are not specified) | The character(s) to use as the path separator ... |
Get Ant Developer’s Handbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.