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

Changes in force module restart reg exp pattern are not always reflected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Beta3
    • 3.3.0.Beta3
    • server
    • None
    • Hide

      This should reproduce it:
      1. Set up AS 7.1.1 server
      2. Create Dynamic Web Project dynproj
      3. Add index.jsp and home.jsp in WebContents of your project
      4. In Server View open the server in server editor
      5. In Application Reload Behavior check "Customize application reload..."
      6. In Application Reload Behavior change the pattern to \.jsp$ - this will ensure that every change in jsp files forces full publish - save the server editor
      7. Start the server and deploy dynproj
      8. Change home.jsp and save - in a few seconds you will see JBAS018565: Replaced deployment "dynproj.war" with deployment "dynproj.war" in the Console
      9. Change index.jsp and save - you will see the same as in step 8.
      10. Stop the server
      11. Change the pattern in server editor to index\.jsp$ - only changes in the index.jsp should force full publish - save the editor
      12. repeat steps 7.-9. - in both cases the file change will cause full publish which is wrong - FAIL

      Show
      This should reproduce it: 1. Set up AS 7.1.1 server 2. Create Dynamic Web Project dynproj 3. Add index.jsp and home.jsp in WebContents of your project 4. In Server View open the server in server editor 5. In Application Reload Behavior check "Customize application reload..." 6. In Application Reload Behavior change the pattern to \.jsp$ - this will ensure that every change in jsp files forces full publish - save the server editor 7. Start the server and deploy dynproj 8. Change home.jsp and save - in a few seconds you will see JBAS018565: Replaced deployment "dynproj.war" with deployment "dynproj.war" in the Console 9. Change index.jsp and save - you will see the same as in step 8. 10. Stop the server 11. Change the pattern in server editor to index\.jsp$ - only changes in the index.jsp should force full publish - save the editor 12. repeat steps 7.-9. - in both cases the file change will cause full publish which is wrong - FAIL

      Sometimes when you change the reg exp in server editor that is used to determine when module restart should be forced, the change isn't reflected in the behavior.

            rob.stryker Rob Stryker (Inactive)
            exd-mmalina Martin Malina
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: