What steps will reproduce the problem?
1. Run an S3Upload ant task on Windows
What is the expected output? What do you see instead?
Files are uploaded using relative path. Instead they are uploaded using the
canonical path.
What version of the product are you using? On what operating system?
Newest version of the development branch on Windows.
Please provide any additional information below.
Easy to fix. You do a string replacement for "\\\\" on the filepath but not on
the root. This causes the logic where you check to see if they match to fail on
Windows (but not on *nix). You can easily fix this by replacing line 257 of
S3Upload.java w:
String rootx = normalize(root.getCanonicalPath()).replaceAll("\\\\", "/");
I've already done this locally and verified that it works.
Original issue reported on code.google.com by dro...@gmail.com on 19 Aug 2011 at 10:38
Original issue reported on code.google.com by
dro...@gmail.com
on 19 Aug 2011 at 10:38