You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Carvalho, Ruben" <Ru...@fmr.com> on 2009/03/23 15:44:48 UTC

.classpath file in branch Jetspeed 2.1.3 postrelease

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?

Thanks

Ruben Carvalho


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: .classpath file in branch Jetspeed 2.1.3 postrelease

Posted by Mansour Al Akeel <ma...@gmail.com>.
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:mansour.alakeel@gmail.com] 
> 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	Ruben.Carvalho@fmr.com
>>
>> 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:d.taylor@1hippo.com] 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: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>>
>>     
>
>   
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: .classpath file in branch Jetspeed 2.1.3 postrelease

Posted by "Carvalho, Ruben" <Ru...@fmr.com>.
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:mansour.alakeel@gmail.com] 
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	Ruben.Carvalho@fmr.com
> 
> 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:d.taylor@1hippo.com] 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: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> 
> 
> 

> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: .classpath file in branch Jetspeed 2.1.3 postrelease

Posted by Mansour Al Akeel <ma...@gmail.com>.
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	Ruben.Carvalho@fmr.com
> 
> 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:d.taylor@1hippo.com] 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: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> 
> 
> 

> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: .classpath file in branch Jetspeed 2.1.3 postrelease

Posted by David Sean Taylor <d....@onehippo.com>.
On Mar 24, 2009, at 1: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"/>
>
The 2.1.3-post-release (2.1.4) already has these three entries. I  
thought you were working with that branch


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: .classpath file in branch Jetspeed 2.1.3 postrelease

Posted by "Carvalho, Ruben" <Ru...@fmr.com>.
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	Ruben.Carvalho@fmr.com

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:d.taylor@1hippo.com] 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: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org




Re: .classpath file in branch Jetspeed 2.1.3 postrelease

Posted by David Sean Taylor <d....@onehippo.com>.

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: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org