[JBoss JIRA] (JBIDE-16329) Support JAX-RS 2.0
by Xavier Coulon (JIRA)
Xavier Coulon created JBIDE-16329:
-------------------------------------
Summary: Support JAX-RS 2.0
Key: JBIDE-16329
URL: https://issues.jboss.org/browse/JBIDE-16329
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: webservices
Affects Versions: 4.1.1.Final
Reporter: Xavier Coulon
Assignee: Xavier Coulon
Fix For: 4.2.x
Support new JAX-RS 2.0 API, and including at the validation level where there should be no false positives when Facet version is 2.0.
Validators and reported error messages may need to be splitted per facet version.
--
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
12 years, 3 months
[JBoss JIRA] (JBIDE-16327) JaxrsFacetedProjectListener doesn't support RESTEasy 3?
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16327?page=com.atlassian.jira.plugi... ]
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/fa3af70fc7c545e...
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
12 years, 3 months
[JBoss JIRA] (JBIDE-15471) Cannot cancel creating Java EE project
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15471?page=com.atlassian.jira.plugi... ]
Marián Labuda commented on JBIDE-15471:
---------------------------------------
I'm sorry, I was mistaken. I had on my mind to let set up project and (if necessary) download missing files could take significant time.
> Cannot cancel creating Java EE project
> --------------------------------------
>
> Key: JBIDE-15471
> URL: https://issues.jboss.org/browse/JBIDE-15471
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven, project-examples
> Affects Versions: 4.1.0.Final
> Environment: Fedora Gnome 3.4.2
> Reporter: Marián Labuda
> Assignee: Fred Bricon
> Priority: Minor
> Fix For: 4.2.0.Alpha2
>
>
> During creation of new Java EE Web project or Java EE EAR project is impossible to cancel task - cancellation icon is grey and unclickable. If user doesn't have EE runtime it takes significant time to download it etc.
--
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
12 years, 3 months
[JBoss JIRA] (JBIDE-16328) Buglets in JaxrsResourceMethodValidatorDelegate.validatePublicModifierOnJavaMethod()
by Thomas Maslen (JIRA)
Thomas Maslen created JBIDE-16328:
-------------------------------------
Summary: Buglets in JaxrsResourceMethodValidatorDelegate.validatePublicModifierOnJavaMethod()
Key: JBIDE-16328
URL: https://issues.jboss.org/browse/JBIDE-16328
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Affects Versions: 4.1.1.Final
Environment: Eclipse 4.3.1 EE bundle + JBoss Tools 4.1.1
Reporter: Thomas Maslen
Priority: Minor
JAX-RS resource methods are often declared in classes, but it is also valid to declare them in interfaces. Methods in classes have to be explicitly declared public (and that's what this validator method checks for -- good), but methods in Java interfaces are implicitly public; explicitly writing "public" just adds clutter.
The JAX-RS validator does discover resource methods in interfaces and validates them (good), but if the methods aren't explicitly labelled public then a couple of minor bugs surface in this validator method:
(1) It adds a RESOURCE_METHOD_NO_PUBLIC_MODIFIER problem marker, and
(2) The Description that's displayed for the marker is "The method '{0}' should be public.", i.e. the "{0}" isn't replaced with a method name
(Yes, I can certainly dodge this by changing the "Missing 'public' method modifier" preference from Warning to Ignore, but I'm definitely a fan of having the validators there to save me from myself).
--
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
12 years, 3 months
[JBoss JIRA] (JBIDE-16327) JaxrsFacetedProjectListener doesn't support RESTEasy 3?
by Thomas Maslen (JIRA)
Thomas Maslen created JBIDE-16327:
-------------------------------------
Summary: 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
Priority: Minor
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
12 years, 3 months