You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2009/03/22 03:02:16 UTC

[jira] Updated: (MRM-1000) AdministrationServiceImplTest fails on Windows

     [ http://jira.codehaus.org/browse/MRM-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching updated MRM-1000:
----------------------------------

    Fix Version/s:     (was: 1.2-M2)
                   1.2

> 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
>            Assignee: James William Dumay
>             Fix For: 1.2
>
>         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