Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.5
-
Fix Version/s: None
-
Component/s: Core : Workspace settings
-
Labels:None
Description
The generated .classpath is not correct.
This problem seems to be related to using a non default repository location. In fact, if localRepository (in settings.xml) is the following:
<localRepository>/path/to/repository</localRepository>
Then all classpathentries in the .classpath file are generated as in the following example:
M2_REPO/projet/MIPIH/repository/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar
instead of
M2_REPO/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar
I can create a dedicated testcase project if necessary (if you have problem reproducing this issue) but I think this will be easy to reproduce by just testing with a non default repository location.
Thanks a lot.
Cheers.
Issue Links
- is duplicated by
-
MECLIPSE-408
eclipse:eclipse creates a .classpath containing the M2_REPO variable followed by the expanded value of the variable
-
- is related to
-
MNG-3951
Hide drive-relative paths from plugins
-
Obviously, you'll replace "/projet/MIPIH/repository" by "/path/to/repository" in the text above.
Cheers.