[ http://jira.codehaus.org/browse/MNG-2697?page=comments#action_83412 ] Baerrach bonDierne commented on MNG-2697: -----------------------------------------
Unit tests based on Files would be better than string based ones, especially since the raw type being tested is a File. If the unit tests work on a Windows box I won't complain, it's just File based assertions would be more robust. > maven-plugin-testing-tools: > ProjectToolTest.testPackageProjectArtifact_ShouldPopulateArtifactFileWithJarLocation > fails on Windows > --------------------------------------------------------------------------------------------------------------------------------- > > Key: MNG-2697 > URL: http://jira.codehaus.org/browse/MNG-2697 > Project: Maven 2 > Issue Type: Bug > Components: Sandbox > Environment: Windows XP > Reporter: Baerrach bonDierne > Assigned To: John Casey > Priority: Critical > Attachments: MNG-2697-patch.txt > > > File.getPath() can not be used as a comparison with a string because of the / > vs \ problem. > Attached patch, replaces this check with one against File. -- 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