AdministrationServiceImplTest fails on Windows
----------------------------------------------

                 Key: MRM-1000
                 URL: http://jira.codehaus.org/browse/MRM-1000
             Project: Archiva
          Issue Type: Bug
          Components: build
    Affects Versions: 1.2-M1
         Environment: Windows
            Reporter: Martin Cooper
         Attachments: fix_separators.patch

The AdministrationServiceImplTest fails on Windows due to path separator 
issues. When test data is recorded into the legacy repo, a Unix path separator 
is hard-coded into the data. This later fails to match a native file system 
path in matchesArtifactPattern, causing the test itself to fail.

The fix is to create the test data using the system path separator 
(File.separator) instead of hard-coding it. Patch attached.

-- 
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

        

Reply via email to