Skip to content

Commit

Permalink
Fix problem with uploading file on Windows. Changed creation of file …
Browse files Browse the repository at this point in the history
…path (if file in classpath)
  • Loading branch information
Tyson1986 committed Mar 30, 2015
1 parent 8a5b36c commit e7ae87e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static boolean isOnTheUnixFileSystem(final String filename) {
}

private String getFileFromResourcePath(final String filename) {
return resourceOnClasspath(filename).getFile();
return new File(resourceOnClasspath(filename).getFile()).getAbsolutePath();
}

private String getFileFromFileSystem(final String filename) {
Expand Down

0 comments on commit e7ae87e

Please sign in to comment.