DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35776>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35776 Summary: amend FileUtils to properly handle cygwin symbolic links Product: Ant Version: 1.7Alpha (nightly) Platform: Other OS/Version: other Status: NEW Severity: enhancement Priority: P2 Component: Core AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED],[EMAIL PROTECTED] org.apache.tools.ant.util.FileUtils is a great tool to create platform independent paths: FileUtils fu = FileUtils.getFileUtils(); return new Location(Locator.fromURI(fu.toURI(fileName))) .getFileName(); Unfortunately, when a path is using cygwin symlinks, it still won't work. There is a resolveFile() that already does more than just new File(file, filename), but unfortunately, it wouldn't notice if a file doesn't exist (due to being a cygwin symbolic link). Once this exists, I guess this very useful tool "FileUtils" might find many more takers and thus could move to jakarta-commons? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]