[jboss-user] [JBoss Tools] - Re: How to get ALL sources for a JBoss AS 7 release, including external deps?

jaikiran pai do-not-reply at jboss.com
Fri Jun 1 05:52:41 EDT 2012


jaikiran pai [https://community.jboss.org/people/jaikiran] created the discussion

"Re: How to get ALL sources for a JBoss AS 7 release, including external deps?"

To view the discussion, visit: https://community.jboss.org/message/739262#739262

--------------------------------------------------------------
> Max Rydahl Andersen wrote:
> 
> 
> But see  https://community.jboss.org/community/tools/blog/2012/01/24/jboss-source-lookup https://community.jboss.org/en/tools/blog/2012/01/24/jboss-source-lookup for how we provide it for debugging of AS servers.
Give my lack of Eclipse usage for some time now, I don't fully understand that blog but I think this statement in that blog summarizes where the source files are looked for:

> The Source Lookup plugin finds source for a mavenized archive as follows:
> 
>     using the m2e API
>     using the archive's metadata (META-INF/maven)
>     using nexus repositories that can be defined using the Source Lookup preferences page
Now in Craig's case, the JBoss AS7 sources were published to *local maven repository* (on his filesystem) after he built the server. They weren't available in any of the remote maven repos. So does the source lookup plugin take into consideration the local maven repository for looking up the sources?

I think that's one of the points that Craig's bringing up:
> Craig Ringer wrote:
> 
> * When debugging a project running on AS7, the JBoss Tools / m2e integration doesn't automatically find JBoss AS 7 sources in the local maven repository, the sources have to be manually added to the source search path or JBoss AS 7 has to be imported as a project. That's kind of clunky, especially as importing AS7 as a project here crashes JBoss Developer Studio. Manually listing each source artifact shouldn't be necessary.
>
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/739262#739262]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120601/306fc06f/attachment.html 


More information about the jboss-user mailing list