[ http://jira.codehaus.org/browse/MECLIPSE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_127913 ]
Benjamin Bentmann commented on MECLIPSE-404: -------------------------------------------- bq. Actually, it seems like when you use an \ as the beginning of a path, it's always understood as relating to c:\. That's technically wrong. Please see also [0|http://tmml.sourceforge.net/doc/tcl/filename.html]. {quote} C:\Documents and Settings\mathus\Bureau\maven-artifact-manager>cd m: M:\ C:\Documents and Settings\mathus\Bureau\maven-artifact-manager>dir \ {quote} Please note that your command prompt shows the current working directory and that this is still "C:\..." after "cd m:". In other words, you did not change the current drive. Try the same with "cd /D M:" and you will see that "cd \path" is indeed drive-relative, more precisely relative to the current drive, not necessarily C: > Duplicated local repository path in the generated .classpath file > ----------------------------------------------------------------- > > Key: MECLIPSE-404 > URL: http://jira.codehaus.org/browse/MECLIPSE-404 > Project: Maven 2.x Eclipse Plugin > Issue Type: Bug > Components: Core : Workspace settings > Affects Versions: 2.5 > Reporter: Baptiste MATHUS > > 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. -- 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