[jbosstools-issues] [JBoss JIRA] (JBIDE-14966) Forge: REST --activatorType APP_CLASS

Burr Sutter (JIRA) jira-events at lists.jboss.org
Fri Jun 21 12:15:21 EDT 2013


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

Burr Sutter commented on JBIDE-14966:
-------------------------------------

In addition, the web.xml that was generated had an error
<url-pattern>"/rest"/*</url-pattern>
                
> Forge: REST --activatorType APP_CLASS 
> --------------------------------------
>
>                 Key: JBIDE-14966
>                 URL: https://issues.jboss.org/browse/JBIDE-14966
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: forge
>            Reporter: Burr Sutter
>
> Our Java EE Web Project archetype has a JaxRsActivator.java by default.
> @ApplicationPath("/rest")
> public class JaxRsActivator extends Application {
>     /* class body intentionally left blank */
> }
> But the REST Endpoints from Entities assumes web.xml
> Is it possible for wizard/Forge to detect that the app is already using
> rest setup --activatorType APP_CLASS 
> and use the existing JaxRsActivator?

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