Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12106

JAX-RS RESTful explorer out of sync

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.1.1.Final
    • 3.3.0.CR1
    • webservices
    • None
    • Hide

      STEP: Create dynamic web project with JAX-RS support
      STEP: Create JAX-RS web service e.g:

      RestService.java
      import javax.ws.rs.DELETE;
      import javax.ws.rs.GET;
      import javax.ws.rs.Path;
      
      @Path("/rest")
      public class RestService {
      
          @GET
          public void method1() {
      		
          }
      	
          @DELETE
          public void method2() {
      		
          }
      	
      }
      

      ASSERT: JAX-RS RESTful explorer contains GET and DELETE rest method
      STEP: replace @DELETE with @GET and save the file immediately after that
      ASSERT: JAX-RS RESTful explorer contains two GET rest methods
      FAIL: JAX-RS RESTful explorer still contains GET and DELETE rest method

      Show
      STEP: Create dynamic web project with JAX-RS support STEP: Create JAX-RS web service e.g: RestService.java import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.Path; @Path( "/ rest " ) public class RestService { @GET public void method1() { } @DELETE public void method2() { } } ASSERT: JAX-RS RESTful explorer contains GET and DELETE rest method STEP: replace @DELETE with @GET and save the file immediately after that ASSERT: JAX-RS RESTful explorer contains two GET rest methods FAIL: JAX-RS RESTful explorer still contains GET and DELETE rest method
    • Workaround Exists
    • Hide

      Clean the build

      Show
      Clean the build

    Attachments

      1. JBIDE-12106.ogv
        296 kB
      2. JBIDE-12106.png
        JBIDE-12106.png
        82 kB

      Issue Links

        Activity

          People

            rrabara Radoslav Rábara (Inactive)
            jjankovi Jaroslav Jankovič (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: