Hi all. I've found the following e-mail about Eclipse plugin and I
think I have the solution.
Eclipse plugin resolves path attribute using canonical file names. In
some cases, for example when the localRepository [settings.xml] is
setted to a root drive letter in MS-Windows boxes like M:\, the
canonical name maintain the backslash. So, the method that calculates
the relative path, returns the path without the first letter.
There are a workaround to resolve this: Never use a root drive letter
(or root / in posix boxes)   as localRepository. I suggest to use
instead a sub folder.
I've posted a patch in Jira to fix that problem, of course, after
someone else validate and test that patch.

Regards

Márcio Guedes

http://jira.codehaus.org/browse/MECLIPSE-261
----------------------------

Hello

I have a problem with eclipse plugin for maven 2 (i'm using maven
2.0.6). it generates wrong .classpath file - all classpath entries
describing external jars have missing first letter (after M2_REPO env
variable). let take an example:
<classpathentry kind="var"
path="M2_REPO/unit/junit/3.8.1/junit-3.8.1.jar"
sourcepath="M2_REPO/unit/junit/3.8.1/junit-3.8.1-sources.jar"/>


i found that someone already had this problem with maven, but there
was no solution for it.

do anybody know how to deal with that ?

thanks in advance

Kamil Pietak

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to