[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9332) new rest services are not visible under REST services node
Xavier Coulon (JIRA)
jira-events at lists.jboss.org
Tue Aug 9 14:44:27 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619765#comment-12619765 ]
Xavier Coulon commented on JBIDE-9332:
--------------------------------------
Lukas,
Thanks for spoting this bug !
In the scenario you described, configuring the JAX-RS support onto the project is done before using the wizard to create a restful resource, which automatically adds the required jars into the project's classpath.
I can reproduce it and I'm working on it now. I need to add a JavaElementChangedListener so that the JAX-RS Metamodel can be notified when jax-rs libraries are added.
BTW, doing a 'clean build' on the project should produce the expected (good) result, since it triggers a 'full (re)build' of the jax-rs metamodel.
> new rest services are not visible under REST services node
> ----------------------------------------------------------
>
> Key: JBIDE-9332
> URL: https://issues.jboss.org/browse/JBIDE-9332
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Webservices
> Affects Versions: 3.3.0.M3
> Environment: v. 1.2.2.v20110712-0303-H390-M3; ubuntu 11.04+gnome3
> Reporter: Lukas Jungmann
> Assignee: Xavier Coulon
> Priority: Critical
> Fix For: 3.3.0.M3
>
>
> -create fresh new workspace (important!)
> -add EAP-5.1 to servers in the IDE
> -create new dynamic web project for EAP-5.1
> -do Configure -> Add JAX-RS 1.1 support...
> => REST services node remains in "Building RESTful Web Services..." state
> -create new Sample RESTful Web Service
> => REST services node moves to "RESTful Web Services" state but remains empty
> -create new dummy java class and edit it to:
> {code}
> package x;
> @javax.ws.rs.Path("/x")
> public class X {
> @javax.ws.rs.GET public String x() { return "x"; }
> }
> {code}
> => REST services does not still show any RESTful services from the project
--
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