[jbosstools-issues] [JBoss JIRA] (JBIDE-16327) JaxrsFacetedProjectListener doesn't support RESTEasy 3?

Fred Bricon (JIRA) issues at jboss.org
Thu Jan 2 07:37:33 EST 2014


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

Fred Bricon commented on JBIDE-16327:
-------------------------------------

I believe the check for 1.1 was primarily meant to avoid adding the jax-rs support for pre 1.1 versions. Hopefully (Xavier can confirm) our JAX-RS tooling should support 2.0 just as well.

So I think the fix should just check the facet version is equal or higher than 1.1 in https://github.com/jbosstools/jbosstools-webservices/blob/fa3af70fc7c545ef08c6bdf7fd440f8d2a3b3747/plugins/org.jboss.tools.ws.jaxrs.ui/src/org/jboss/tools/ws/jaxrs/ui/facet/JaxrsFacetedProjectListener.java#L44

As for the m2e-jaxrs integration, it doesn't handle jaxrs facet updates. The current implementation will ignore an already installed jaxrs facet, i.e. if you manually set it to 2.0 but the project depends on 1.1, it'll stay as is upon maven project configuration update. 
                
> JaxrsFacetedProjectListener doesn't support RESTEasy 3?
> -------------------------------------------------------
>
>                 Key: JBIDE-16327
>                 URL: https://issues.jboss.org/browse/JBIDE-16327
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: webservices
>    Affects Versions: 4.1.1.Final
>         Environment: Eclipse EE bundle 4.3.1 + JBoss Tools 4.1.1 
>            Reporter: Thomas Maslen
>            Assignee: Xavier Coulon
>            Priority: Minor
>             Fix For: 4.1.2.Final, 4.2.0.Alpha2
>
>
> More generally:  JaxrsFacetedProjectListener supports exactly JAX-RS 1.1 but not 2.0?
> (Perhaps that is intentional, and that's why various text labels in the public UI explicitly say "JAX-RS 1.1" rather than just "JAX-RS"?)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list