[jbosstools-issues] [JBoss JIRA] (JBIDE-9309) Easily adding full JBoss AS source

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Wed Feb 22 10:08:36 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-9309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669983#comment-12669983 ] 

Snjezana Peco commented on JBIDE-9309:
--------------------------------------

> Which module should contain it ? inside common jdt or mvn ?
> what plugns/features will it introduce/be best merged into ?

The Source Lookup feature includes two plugins:

org.jboss.tools.as.sourcelookup.core
org.jboss.tools.as.sourcelookup.ui

and one feature:
org.jboss.tools.as.sourcelookup.feature

> Can this be done without requiring m2e to be installed? (i.e. just use aether for fetching/checking sources or are we fully dependent on mvn for this?

The plugin requires m2e  because we first use the m2e indexer to find source artifacts. Currently the plugin uses m2e to download artifacts, but that can be changed.

That means the plugin can be added as a separate component or within the maven component.

> All the EAP/SOA-P specific detection in these classes - is this really where it belongs ?

There is no anything specific related to EAP/SOA-P except a different repository. Will we include the source for EAP/SOA-P? They aren't open source.
                
> Easily adding full JBoss AS source
> ----------------------------------
>
>                 Key: JBIDE-9309
>                 URL: https://issues.jboss.org/browse/JBIDE-9309
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: JBossAS/Servers
>            Reporter: arjan tijms
>            Assignee: Max Rydahl Andersen
>              Labels: debugging, source
>             Fix For: 3.3.0.CR1
>
>         Attachments: jbide-9309a.png
>
>
> The JBoss AS server runtime from JBoss tools adds a library container to the classpath of an Eclipse project. This container provides a large amount of jar files that make up JBoss AS itself and the Java EE services it offers.
> Attaching the source code for this is notoriously difficult. Because it concerns a large amount of jar files, attaching source code for each jar is a rather tedious job. 
> For JBoss AS 5, the fact that the location of jars in the source archive was completely different from the structure exposed in Eclipse or the binary build of JBoss AS, made it very hard to actually locate the correct source jar. Sometimes even names were different, making it even harder. 
> For JBoss AS 6, the source archive does not even contain the source for the majority of the JBoss AS artifacts. Source for 'core functionality' (from the point of view of the Java EE developer), like Servlet and JSF is missing. The user has to hunt the Internet to find the correct source for the correct version that JBoss AS 6 uses. This makes an already tedious job even more tedious.
> I would like to request functionality where the user can point to a single _jboss-src.xyz_ file that contains all sources. JBoss tools should then automatically attach the right source from the archive to the right jar from the library container. Alternatively the user could point to a maven repository (but this should not make the Eclipse project dependent on maven).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list