Skip to content

Conversation

teras
Copy link

@teras teras commented Mar 30, 2015

While gathering paths, use both ; and : separators to define cross-platform path fragments, instead of system-dependent property "path.separator" (which breaks most ant scripts, especially those created by Netbeans)

…atform path fragments, instead of system-dependent property "path.separator"
@luontola
Copy link
Owner

This won't work on Windows, because a classpath such as "C:\foo.jar" would be split into "C" and "\foo.jar". Using "path.separator" is the only cross-platform way.

@luontola luontola closed this Mar 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants