You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Nathan Beyer (Apache) (JIRA)" <ji...@codehaus.org> on 2007/02/25 20:14:15 UTC

[jira] Created: (MRM-292) [archiva-common] Fix BaseFileTest, so it will run on Windows

[archiva-common] Fix BaseFileTest, so it will run on Windows
------------------------------------------------------------

                 Key: MRM-292
                 URL: http://jira.codehaus.org/browse/MRM-292
             Project: Archiva
          Issue Type: Bug
    Affects Versions: 1.0
         Environment: Windows XP SP2, Sun JDK 5 Update 11, Maven 2.0.5
            Reporter: Nathan Beyer (Apache)
         Attachments: BaseFileTest.diff

The test org.apache.maven.archiva.common.utils.BaseFileTest won't pass on Windows platform, because it doesn't compensate for drive letters being adding to the absolute paths. I've added some simple utility methods and tweaked the expected values to compensate for this. I don't have a Linux box to test on, so I haven't validated that they still work there, so the committer should verify the tests on a Linux or Unix box.

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

        

[jira] Closed: (MRM-292) [archiva-common] Fix BaseFileTest, so it will run on Windows

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse closed MRM-292.
--------------------------------

         Assignee: Emmanuel Venisse
       Resolution: Fixed
    Fix Version/s: 1.0

already fixed but with an other patch

> [archiva-common] Fix BaseFileTest, so it will run on Windows
> ------------------------------------------------------------
>
>                 Key: MRM-292
>                 URL: http://jira.codehaus.org/browse/MRM-292
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: Windows XP SP2, Sun JDK 5 Update 11, Maven 2.0.5
>            Reporter: Nathan Beyer (Apache)
>         Assigned To: Emmanuel Venisse
>             Fix For: 1.0
>
>         Attachments: BaseFileTest.diff, BaseFileTest.diff
>
>
> The test org.apache.maven.archiva.common.utils.BaseFileTest won't pass on Windows platform, because it doesn't compensate for drive letters being adding to the absolute paths. I've added some simple utility methods and tweaked the expected values to compensate for this. I don't have a Linux box to test on, so I haven't validated that they still work there, so the committer should verify the tests on a Linux or Unix box.

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

        

[jira] Updated: (MRM-292) [archiva-common] Fix BaseFileTest, so it will run on Windows

Posted by "Nathan Beyer (Apache) (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Beyer (Apache) updated MRM-292:
--------------------------------------

    Attachment: BaseFileTest.diff

Uploading BaseFileTest.diff again. The first upload contained changes out of the scope of this issue, sorry.

> [archiva-common] Fix BaseFileTest, so it will run on Windows
> ------------------------------------------------------------
>
>                 Key: MRM-292
>                 URL: http://jira.codehaus.org/browse/MRM-292
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: Windows XP SP2, Sun JDK 5 Update 11, Maven 2.0.5
>            Reporter: Nathan Beyer (Apache)
>         Attachments: BaseFileTest.diff, BaseFileTest.diff
>
>
> The test org.apache.maven.archiva.common.utils.BaseFileTest won't pass on Windows platform, because it doesn't compensate for drive letters being adding to the absolute paths. I've added some simple utility methods and tweaked the expected values to compensate for this. I don't have a Linux box to test on, so I haven't validated that they still work there, so the committer should verify the tests on a Linux or Unix box.

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