Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Sytem independent path fragments in command line tool #46

Closed
wants to merge 1 commit into from
Closed

Sytem independent path fragments in command line tool #46

wants to merge 1 commit into from

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants