tests failing in trunk on windows
---------------------------------
Key: MWAR-122
URL: http://jira.codehaus.org/browse/MWAR-122
Project: Maven 2.x War Plugin
Issue Type: Bug
Affects Versions: 2.1-alpha-1
Environment: WindowsXP
Reporter: Tomasz Pik
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"} );
+ final FileFilter filter = new FileFilterImpl( webAppDirectory, new
String[]{"META-INF" + File.separator + "MANIFEST.MF"} );
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira