https://issues.apache.org/bugzilla/show_bug.cgi?id=51086
Anthony Wat <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version| |All --- Comment #1 from Anthony Wat <[email protected]> 2011-04-23 21:39:10 EDT --- (In reply to comment #0) > The package mapper doesn't work well on windows in combination with > handledirsep=true. The reason is that the package mapper replaces all > File.separatorChar characters with '.', but when the handledirsep property was > set to true, all directory separators are replace by '/' which is different > than the File.separatorChar on Windows. Do you have an actual test case for this problem? As I understand, handledirsep is only relevant for the purpose of matching the from pattern - it does not change the slashes in the part that matches the *. For example: from = org/apache/tools/ant/*Test.java to = TEST-*Test.xml handledirsep = true The path name org\apache\tools\ant\util\PackageMapperTest.java will still be converted to util.PackageMapperTest.xml. So as long as the original path has all '\' and not a mix of '\' and '/', the package mapper will still be able to map the dir seps to '.', which seems to be the expected result. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
