[jbosstools-issues] [JBoss JIRA] (JBIDE-15402) Doubled warnings Multiple JAX-RS Activators

Radoslav Rábara (JIRA) jira-events at lists.jboss.org
Wed Sep 4 06:49:04 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-15402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radoslav Rábara updated JBIDE-15402:
------------------------------------

    Steps to Reproduce: 
STEP: Create Dynamic Web Project with JAX-RS support
STEP: Create JAX-RS Activator, for example:
{code:title=Activator1.java|borderStyle=solid}
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;

@ApplicationPath("/test")
public class Activator1 extends Application {

}
{code}
STEP: Create another JAX-RS Activator
ASSERT: There are 2 warnings: Multiple JAX-RS Activators are defined for the project. (for both files)
FAIL: There are 4 warnings. (two same warnings for both files)

  was:
STEP: Create Dynamic Web Project with JAX-RS support
STEP: Create JAX-RS Activator, for example:
{code:title=Activator1.java|borderStyle=solid}
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;

@ApplicationPath("/test")
public class Activator1 extends Application {

}
{code}
STEP: Create another JAX-RS Activator
ASSERT: There are 2 warnings: Multiple JAX-RS ACtivators are defined for the project. (for both files)
FAIL: There are 4 warnings. (two same warnings for both files)


    
> Doubled warnings Multiple JAX-RS Activators
> -------------------------------------------
>
>                 Key: JBIDE-15402
>                 URL: https://issues.jboss.org/browse/JBIDE-15402
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: webservices
>    Affects Versions: 4.1.0.Final
>            Reporter: Radoslav Rábara
>              Labels: jax-rs, warning_messages, webservices
>             Fix For: 4.1.1.Alpha1
>
>         Attachments: jax-rs warnings.jpg
>
>
> After creating multiple JAX-RS Activators in Dynamic Web Project with JAX-RS support, there are doubled warnings ("Multiple JAX-RS Activators are defined for the project.") for each activator.

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