[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6198) "J2EE 5.0 libraries (JBoss Tools)" contains only subset of API

henk de boer (JIRA) jira-events at lists.jboss.org
Sun Feb 20 12:45:14 EST 2011


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

henk de boer commented on JBIDE-6198:
-------------------------------------

{quote}
This is better solved in future by using proper maven repo available dependencies than crappy outofdate and incomplete source/class bundles with eclipse plugins.
{quote}

Max, do you mean the JBoss tools WTP adapter then internally uses maven to download those sources after installation, or will maven somehow be required by the user in his project?

Last I read (admittedly a good half year ago) the maven repositories weren't that neat with regard to availability of Java EE spec interfaces. See this: http://in.relation.to/Bloggers/AHitchhikersGuideToJavaEE6ApplicationSetupPartI#comment15749

Finally, the spec doesn't change that often. So whatever is in a maven repository now that is not "crappy", could be bundled with the Eclipse plug-in. Or what that what you meant in the first place?

> "J2EE 5.0 libraries (JBoss Tools)" contains only subset of API
> --------------------------------------------------------------
>
>                 Key: JBIDE-6198
>                 URL: https://issues.jboss.org/browse/JBIDE-6198
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 3.1.0.GA
>         Environment: Eclipse 3.5.2 / JBoss AS 5.1 / Mac OS X 10.5.7 / Ubuntu 9.10 (JDK 6u18) 
>            Reporter: henk de boer
>            Assignee: Rob Stryker
>             Fix For: 3.2.0.Final
>
>         Attachments: files.txt, jsf-api.jar, mailapi.jar
>
>
> JBoss Tools 3.1.0.GA adds a library to Eclipse called "J2EE 5.0 libraries (JBoss Tools)". The name of this library suggests it's the full Java EE 5 API, however upon inspection it appears to be a subset:
> javax.annotation
> javax.ejb
> javax.enterprise.deploy
> javax.jms
> javax.persistence
> javax.resource
> javax.security.jacc
> javax.servlet
> javax.transaction
> javax.xml
> Among others,  javax.faces and javax.mail are missing. 
> Additionally, the name of the library is not consistent. In project -> properties -> Java Build Path -> Add Library... it's called "JEE 5.0 libraries", but after adding it to a project it's referred to as "J2EE 5.0 libraries (JBoss Tools)". I think "Java EE 5 libraries" would be the best name as both "JEE 5.0" and "J2EE 5.0" are not official terms.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list