[jbosstools-issues] [JBoss JIRA] (JBIDE-10199) Cannot use the RESTful Web Services creation wizard with JBossAS7

Brian Fitzpatrick (Commented) (JIRA) jira-events at lists.jboss.org
Wed Nov 30 12:04:41 EST 2011


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

Brian Fitzpatrick commented on JBIDE-10199:
-------------------------------------------

Yeah, probably.

The current code works as follows:

1) If the jars are already in the runtime, it doesn't pull them into the project.
2) If not, the code looks for the "resteasy" directory in the runtime install directory and pulls in the jaxrs-api.jar, resteasy-jaxrs.jar, and scannotation.jar from the [runtime]/resteasy/lib directory. These are the minimum jars required to compile. 
3) If the resteasy project isn't in the runtime directory, no jars are pulled in and the code fails to compile. 

This works for SOA-P 5.1 for example and brings in the jars into the WEB-INF/lib directory and helps shortcut the process a bit so devs aren't left hunting for those jars. Obviously this is another case where Maven would work nicely to pull in the dependencies necessary to deploy a RESTful service project. 

Do you still think I need to add the checkbox? I think this works as designed and handles the use case. 
                
> Cannot use the RESTful Web Services creation wizard with JBossAS7
> -----------------------------------------------------------------
>
>                 Key: JBIDE-10199
>                 URL: https://issues.jboss.org/browse/JBIDE-10199
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 3.3.0.M4
>            Reporter: Xavier Coulon
>            Assignee: Brian Fitzpatrick
>            Priority: Critical
>              Labels: jbossas, rest
>             Fix For: 3.3.0.M5
>
>         Attachments: JBIDE-10199.png, patch.txt
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> The "RESTful Web Services creation" wizard claims that the RESTEasy jars are not found in the project which uses JBossAS7 as a target runtime. Yet, the JAX-RS APIs are available in the classpath.

--
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