You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Daniel Kulp (JIRA)" <ji...@codehaus.org> on 2006/01/06 19:15:01 UTC
[jira] Commented: (MECLIPSE-9) eclipse:add-maven-repo not setting
classpathVariable.M2_REPO correctly on windows
[ http://jira.codehaus.org/browse/MECLIPSE-9?page=comments#action_55105 ]
Daniel Kulp commented on MECLIPSE-9:
------------------------------------
This seems to still be broken. I'm using Maven 2.0.1 and maven-eclipse-plugin-2.0 (only version of eclipse plugin in my .m2/repository directory). When I run mvn eclipse:add-maven-repo, I get:
org.eclipse.jdt.core.classpathVariable.M2_REPO=C\\\:/Documents and Settings/dkulp/.m2/repository
The : in C: is double escaped. Thus, in eclipse, it ends up looking like:
C\:/Documents and Settings/dkulp/.m2/repository
which is not a valid path.
> 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
>
>
> 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