You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by yangwawa <wa...@sjtu.edu.cn> on 2007/11/22 09:22:33 UTC

how to import jetspeed src under eclipse

hi,all
i am a new beignner to jetspeed, they are so many problems that i decide to
study the src code, after i download src zip from jetspeed site, i found
that is not in an eclipse project archetechture, so i was completely
confused with the situation, please help me, thank a lot.
-- 
View this message in context: http://www.nabble.com/how-to-import-jetspeed-src-under-eclipse-tf4855022.html#a13892722
Sent from the Jetspeed - Dev mailing list archive at Nabble.com.


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


RE: how to import jetspeed src under eclipse

Posted by yangwawa <wa...@sjtu.edu.cn>.
hi,Dennis
I have done as u said and the trouble has gone, thank u very much:)

Regards
Juan Yang

Dennis Dam wrote:
> 
> Hi,
>  
> can you explain your troubles a little bit more? The eclipse .classpath
> and .project files are available in the source, so Eclipse should
> recognize the project as an Eclipse project, and should have the right
> dependencies set. These dependencies point to your local maven repository
> though. The only thing you need to do is configure your local maven
> repository folder:
> * if you use maven 1, add a build classpath variable "MAVEN_REPO" under
> Window > Preferences > Java > Build Path > Classpath variables, which
> points to your local maven repository.
> * if you use maven 2, define the classpath variable "M2_REPO", which
> points to your local m2 repo. In that case you also have to use a
> different classpath file, which can be found under
> /etc/editors/m2.classpath .
>  
> I hope that can resolve your problems ?
>  
> Dennis
> ________________________________
> 
> Van: yangwawa [mailto:wawayang@sjtu.edu.cn]
> Verzonden: do 22-11-2007 9:22
> Aan: jetspeed-dev@portals.apache.org
> Onderwerp: how to import jetspeed src under eclipse
> 
> 
> 
> 
> hi,all
> i am a new beignner to jetspeed, they are so many problems that i decide
> to
> study the src code, after i download src zip from jetspeed site, i found
> that is not in an eclipse project archetechture, so i was completely
> confused with the situation, please help me, thank a lot.
> --
> View this message in context:
> http://www.nabble.com/how-to-import-jetspeed-src-under-eclipse-tf4855022.html#a13892722
> Sent from the Jetspeed - Dev mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> 

-- 
View this message in context: http://www.nabble.com/how-to-import-jetspeed-src-under-eclipse-tf4855022.html#a13895188
Sent from the Jetspeed - Dev mailing list archive at Nabble.com.


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


RE: how to import jetspeed src under eclipse

Posted by Dennis Dam <d....@hippo.nl>.
Hi,
 
can you explain your troubles a little bit more? The eclipse .classpath and .project files are available in the source, so Eclipse should recognize the project as an Eclipse project, and should have the right dependencies set. These dependencies point to your local maven repository though. The only thing you need to do is configure your local maven repository folder:
* if you use maven 1, add a build classpath variable "MAVEN_REPO" under Window > Preferences > Java > Build Path > Classpath variables, which points to your local maven repository.
* if you use maven 2, define the classpath variable "M2_REPO", which points to your local m2 repo. In that case you also have to use a different classpath file, which can be found under /etc/editors/m2.classpath .
 
I hope that can resolve your problems ?
 
Dennis
________________________________

Van: yangwawa [mailto:wawayang@sjtu.edu.cn]
Verzonden: do 22-11-2007 9:22
Aan: jetspeed-dev@portals.apache.org
Onderwerp: how to import jetspeed src under eclipse




hi,all
i am a new beignner to jetspeed, they are so many problems that i decide to
study the src code, after i download src zip from jetspeed site, i found
that is not in an eclipse project archetechture, so i was completely
confused with the situation, please help me, thank a lot.
--
View this message in context: http://www.nabble.com/how-to-import-jetspeed-src-under-eclipse-tf4855022.html#a13892722
Sent from the Jetspeed - Dev mailing list archive at Nabble.com.


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