<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Another approach is to don't Import/"Existing Maven Projects"<br>
but instead do the following:<br>
<br>
cd JBOSS_GIT_ROOT<br>
mvn eclipse:eclipse -DdownloadSources=true<br>
Eclipse IDE -> Import/"Existing Projects into Workspace" -->
"Select root directory" JBOSS_GIT_ROOT<br>
<br>
From my experience M2Eclipse was terribly slow (at the time I used
to use it) - not sure about its performance ATM<br>
<br>
Rio<br>
<br>
On 04/12/2011 07:12 PM, Kabir Khan wrote:
<blockquote
cite="mid:2-599088-3-68126-1302499149287-2-599616-3-2082-1302628338543.jivesbs.jivemailuser@http:%2F%2Fcommunity.jboss.org"
type="cite">
<div>
<table style="border: 1px solid rgb(218, 218, 218);
margin-bottom: 30px; width: 100%; -moz-border-radius: 6px 6px
6px 6px;" bgcolor="#ffffff" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<td>
<table style="border: 2px solid rgb(204, 204, 204);
background: none repeat scroll 0% 0% rgb(218, 218,
218); width: 100%; -moz-border-radius: 6px 6px 6px
6px;" bgcolor="#ffffff" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<td style="border-bottom: 1px solid rgb(204, 204,
204); padding: 20px; -moz-border-radius-topleft:
3px; -moz-border-radius-topright: 3px;"
bgcolor="#000000" height="58px" valign="middle">
<h1 style="color: rgb(51, 51, 51); font: bold
22px Arial,Helvetica,sans-serif; margin: 0pt;
display: block ! important;">
<!-- To have a header image/logo replace the name below with your img tag -->
<!-- Email clients will render the images when the message is read so any image -->
<!-- must be made available on a public server, so that all recipients can load the image. -->
<a moz-do-not-send="true"
href="http://community.jboss.org/index.jspa"
style="text-decoration: none; color:
rgb(225, 225, 225);">JBoss Community</a></h1>
</td>
</tr>
<tr>
<td style="font: 12px Arial,Helvetica,sans-serif;
color: rgb(51, 51, 51); padding: 20px;
-moz-border-radius-bottomleft: 4px;
-moz-border-radius-bottomright: 4px;"
bgcolor="#ffffff">
<h3 style="margin: 10px 0pt 5px; font-size:
17px; font-weight: normal;"> Re: AS7 source
code check out and setup in eclipse
</h3>
<span style="margin-bottom: 10px;"> created by <a
moz-do-not-send="true"
href="http://community.jboss.org/people/kabirkhan">Kabir
Khan</a> in <i>JBoss AS7 Development</i> -
<a moz-do-not-send="true"
href="http://community.jboss.org/message/599616#599616">View
the full discussion</a>
</span>
<hr style="margin: 20px 0pt; border: medium
none; background-color: rgb(218, 218, 218);
height: 1px;">
<div class="jive-rendered-content">
<p>This is what I do:</p>
<ul>
<li><span>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 </span><a
moz-do-not-send="true"
class="jive-link-external-small"
href="http://download.eclipse.org/technology/m2e/updates/M"
target="_blank">http://download.eclipse.org/technology/m2e/updates/M</a><span>
as 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.</span></li>
<li>Follow the steps to check out the
project to /some/where/as7/git.</li>
<li>Open Eclipse with the workspace as
/some/where/as7/eclipse.</li>
<li>Import/"Existing Maven Projects"</li>
<li>Set /some/where/as7/git as the root dir
and choose all the projects.</li>
</ul>
<p style="min-height: 8pt; height: 8pt;
padding: 0px;"> </p>
<p>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.</p>
</div>
<div style="background-color: rgb(244, 244,
244); padding: 10px; margin-top: 20px;">
<p style="margin: 0pt;">Reply to this message
by <a moz-do-not-send="true"
href="http://community.jboss.org/message/599616#599616">going
to Community</a></p>
<p style="margin: 0pt;">Start a new discussion
in JBoss AS7 Development at <a
moz-do-not-send="true"
href="http://community.jboss.org/choose-container%21input.jspa?contentType=1&containerType=14&container=2225">Community</a></p>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
jboss-dev-forums mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-dev-forums@lists.jboss.org">jboss-dev-forums@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-dev-forums">https://lists.jboss.org/mailman/listinfo/jboss-dev-forums</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Richard Opalka
<a class="moz-txt-link-abbreviated" href="mailto:ropalka@redhat.com">ropalka@redhat.com</a>
JBoss, by Red Hat
Office: +420 222 365 200
Mobile: +420 731 186 942
</pre>
</body>
</html>