Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1-alpha-1
-
None
-
None
-
WindowsXP
Description
Two tests from trunk failing on windows:
Failed tests:
testOverlaysIncludesExcludesWithMultipleDefinitions(org.apache.maven.plugin.war.WarOverlaysTest)
testOverlaysIncludesExcludesWithMultipleDefinitions2(org.apache.maven.plugin.war.WarOverlaysTest)
this is causes by hardcoded META-INF/MAINFEST.MF paths in tests.
File.separator should be used instead of "/" :
- final FileFilter filter = new FileFilterImpl( webAppDirectory, new String[]
{"META-INF/MANIFEST.MF"}
);
{"META-INF" + File.separator + "MANIFEST.MF"}
+ final FileFilter filter = new FileFilterImpl( webAppDirectory, new String[]);