Carvalho:
There's a maven plugin for eclipse that I use a lot m2eclipse. Once you
import the projects into eclipse, it will do all the work for you. You
can remove the old .classpath, and let the plugin set the path for you !
http://m2eclipse.codehaus.org/
Carvalho, Ruben wrote:
Thanks, that made it a bit better but still there are some unresolved
dependencies.
I think I'm just going to stick with maven for now.
-----Original Message-----
From: Mansour Al Akeel [mailto:[email protected]]
Sent: 24 March 2009 13:39
To: Jetspeed Users List
Subject: Re: .classpath file in branch Jetspeed 2.1.3 postrelease
Hello Ruben:
try this in the root of your jetspeed folder:
mvn eclipse:eclipse
I did this with the source from svn. But it should work for you.
On Tue Mar 24,2009 08:25 am, Carvalho, Ruben wrote:
Thanks David.
That did most of the trick but there are still some references to jars
that don't exist after you perform a build/install. I have updated the
file 2.1.maven2.classpath to include the correct versions (it is
attached if you want to use it).
These 3 jars are not present in the repository at all so I wonder if
they're actually needed:
<classpathentry kind="var"
path="M2_REPO/hsqldb/hsqldb/1.8.0.2/hsqldb-1.8.0.2.jar"/>
<classpathentry kind="var"
path="M2_REPO/org/springmodules/spring-modules-ojb/0.6/spring-modules-oj
b-0.6.jar"/>
<classpathentry kind="var"
path="M2_REPO/regexp/regexp/1.2/regexp-1.2.jar"/>
Thanks.
Ruben Carvalho
Fidelity Investments Ireland
Parkmore East Business Park, Galway - Ireland
Contacts:
* Internal 8 737 7414
* External +353 (0)91 747414
* Email [email protected]
Any comments or statements made in this email are not necessarily
those
of the Fidelity Technology Group, Enterprise Solutions, or any of the
Fidelity Investments group companies. The information transmitted is
intended only for the person or entity to which it is addressed and
may
contain confidential and/or privileged material. If you have received
this in error, please contact the sender and delete the material from
any computer. All e-mails sent from or to Fidelity Investments may be
subject to our monitoring procedures.
-----Original Message-----
From: David Taylor [mailto:[email protected]] On Behalf Of David
Sean
Taylor
Sent: 23 March 2009 15:40
To: Jetspeed Users List
Subject: Re: .classpath file in branch Jetspeed 2.1.3 postrelease
On Mar 23, 2009, at 7:44 AM, Carvalho, Ruben wrote:
Hi,
The file jetspeed-2.1.3-postrelease/.classpath is pointing to jars
in
the form of, for example,
MAVEN_REPO/jmock/jars/jmock-1.2.0.jar
Which don't exist in the repository, even after running a mvn
install -p
init and mvn install.
The correct entry should be:
MAVEN_REPO/jmock/jmock/1.2.0/jmock-1.2.0.jar
Is there a maven goal that creates these /jars directories and
copies
the artifact? Or should I simply use a different .classpath, in this
case which one?
The .classpath is actually for Maven-1 repositories. There is a
secondary .classpath file found under etc/editors/2.1.maven2.classpath
Copy that file over the .classpath and it restart Eclipse (or close
and reopen the project)
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]