Skip to content

Commit

Permalink
Windows path separator fix
Browse files Browse the repository at this point in the history
  • Loading branch information
beikov committed Sep 7, 2017
1 parent fed8bfe commit d22ab3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ private void execute( final Iterable<String> options,
javacConf.addClasspathEntry(ii.next());
}
else if( "-sourcepath".equals(option) ) {
String [] sourceLocations = ii.next().split(":");
String [] sourceLocations = ii.next().split(java.util.regex.Pattern.quote(java.io.File.pathSeparator));
for( String path : sourceLocations ) {

final java.io.File dir = new java.io.File( path );
Expand Down

0 comments on commit d22ab3b

Please sign in to comment.