You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "fabrizio giustina (JIRA)" <ji...@codehaus.org> on 2006/01/28 19:26:06 UTC

[jira] Closed: (MECLIPSE-9) eclipse:add-maven-repo not setting classpathVariable.M2_REPO correctly on windows

     [ http://jira.codehaus.org/browse/MECLIPSE-9?page=all ]
     
fabrizio giustina closed MECLIPSE-9:
------------------------------------

     Resolution: Fixed
    Fix Version: 2.1

fixed (again)
the initial bug was fixed by manually escaping the path, but then we switched from directly using a file writer to using java.util.Properties, which automatically escape values (so that was the reason for double escaping).

> eclipse:add-maven-repo not setting classpathVariable.M2_REPO correctly on windows
> ---------------------------------------------------------------------------------
>
>          Key: MECLIPSE-9
>          URL: http://jira.codehaus.org/browse/MECLIPSE-9
>      Project: Maven 2.x Eclipse Plugin
>         Type: Bug

>  Environment: plugin version:2.0-beta-2
> OS: Windows XP SP2
>     Reporter: Charles Crouch
>     Assignee: fabrizio giustina
>      Fix For: 2.1

>
>
> So I ran
>           mvn eclipse:add-maven-repo -Declipse.workspace="C:\usr\app-data\current\eclipse\ws\sandbox"
> and got a org.eclipse.jdt.core.prefs file generated, obviously in the wrong place because of MNG-1344. The contents of the file were
>            org.eclipse.jdt.core.classpathVariable.M2_REPO=C:\Documents and Settings\ccrouch\.m2\repository
> copying this line into my actual correct org.eclipse.jdt.core.prefs did *not* produce the M2_REPO class path variable.
> It turned out the path needed to be escaped. So the following line worked...
>             org.eclipse.jdt.core.classpathVariable.M2_REPO=C\:/Documents and Settings/ccrouch/.m2/repository

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org