In data Sun, 04 Dec 2005 20:52:48 +0100, Kervin L. Pierre <[EMAIL PROTECTED]> ha scritto:

do not use "String substitution" panel, M2_REPO must be set in "Classpath Variables"
under Java->Build Path


Christoph Schönfeld wrote:
Just set up a variable in eclipse, M2_REPO, and point it to the location
of your local repository (which is where maven stores the downloaded
files). The value for the variable needs to be: $USER/.m2/repository.
 The variable can be created in Window>Preferences>Run/Debug/String
Substitution.


I have done this, but at startup eclipse complains
about...

Unbound classpath variable: 'M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar' in project

The M2_REPO variable as been defined in the
'String Substitution' preference sheet as
'$USER/.m2/repository'

Any idea why eclipse can not resolve the
M2_REPO variable?

The classpathentry tag in the .classpath file
looks like...
<classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>

Any help would be great.

Regards,
Kervin

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




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

Reply via email to