You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Barrie Treloar (JIRA)" <ji...@codehaus.org> on 2008/12/18 03:57:19 UTC

[jira] Closed: (MECLIPSE-502) org.apache.maven.plugin.ide.IdeUtilsTest.testToRelativeAndFixSeparator_WhereOnDifferentDrivesAndAbsolutePaths() fail if drive "D" doesnt exists

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

Barrie Treloar closed MECLIPSE-502.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.6

It needs to be a drive that is NOT C.

I have protected the test so that if the fileToAdd can't be canonicalized - probably because the CD drive is not ready the test gets skipped.

> org.apache.maven.plugin.ide.IdeUtilsTest.testToRelativeAndFixSeparator_WhereOnDifferentDrivesAndAbsolutePaths() fail if drive "D" doesnt exists
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-502
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-502
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Test
>          Components: Core : .project
>    Affects Versions: 2.6
>         Environment: maven 2.0.9
>            Reporter: Andreas Höhmann
>             Fix For: 2.6
>
>
> my drive "D"  is a CDROM ... the test fails if no cd is in the drive :)
> ..
> String actual = IdeUtils.toRelativeAndFixSeparator( basedir, fileToAdd, false );
> String expected = "D:/ide/workspace/maven/maven-eclipse-plugin/target/main-output";
> ...
> The should use a driver which is no cd-rom, e.g. use driver "C" ?!

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