Another approach is to don't Import/"Existing Maven Projects"
but instead do the following:
cd JBOSS_GIT_ROOT
mvn eclipse:eclipse -DdownloadSources=true
Eclipse IDE -> Import/"Existing Projects into Workspace" --> "Select
root directory" JBOSS_GIT_ROOT
From my experience M2Eclipse was terribly slow (at the time I used to
use it) - not sure about its performance ATM
Rio
On 04/12/2011 07:12 PM, Kabir Khan wrote:
JBoss Community <
http://community.jboss.org/index.jspa>
Re: AS7 source code check out and setup in eclipse
created by Kabir Khan <
http://community.jboss.org/people/kabirkhan> in
/JBoss AS7 Development/ - View the full discussion
<
http://community.jboss.org/message/599616#599616>
------------------------------------------------------------------------
This is what I do:
* Install m2eclipse. m2eclipse from the official sonatype site
might have problems opening all the projects. The latest version
there is 0.12.x. The cutting-edge 0.13 release performs a lot
better. To get m2eclipse 0.13, add
http://download.eclipse.org/technology/m2e/updates/Mas an update
site in Eclipse (If you just go to that address in a browser it
404s). I needed to uninstall my m2eclipse 0.12.x first.
* Follow the steps to check out the project to /some/where/as7/git.
* Open Eclipse with the workspace as /some/where/as7/eclipse.
* Import/"Existing Maven Projects"
* Set /some/where/as7/git as the root dir and choose all the projects.
You might get some errors wrt the lookup attribute of the @Resource
annotations, simply go to that project's properties and change the
orders of the imports so that the maven deps have a higher precedence
than the JRE ones.
Reply to this message by going to Community
<
http://community.jboss.org/message/599616#599616>
Start a new discussion in JBoss AS7 Development at Community
<
http://community.jboss.org/choose-container%21input.jspa?contentType=1&am...
_______________________________________________
jboss-dev-forums mailing list
jboss-dev-forums(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-dev-forums
--
Richard Opalka
ropalka(a)redhat.com
JBoss, by Red Hat
Office: +420 222 365 200
Mobile: +420 731 186 942