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

When in zip mode, changing a web project's servlet file inside an ear project does not initiate a proper zipped publish

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.3.0.M3
    • Fix Version/s: 3.3.0.Beta3
    • Component/s: server
    • Labels:
      None

      Description

      Given:
      1) Create a server, set to not publish automatically, and publish zip style
      2) An EAR project
      3) A child WAR project
      4) A servlet inside the child .war project
      5) Add the ear to the server, full publish
      6) Change the war's servlet
      7) Perform an incremental publish manually
      8) Verify zip has been recreated (FAIL)

      Problem seems to stem in the following location:
      AltMethodZippedJSTPublisher.java, line 93:
      } else if( publishType != IJBossServerPublisher.NO_PUBLISH ) {

      This line does not take into account that the CHILD modules might have changed, and thus also need updating.

      This jira will require a unit test.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mmalina Martin Malina
                Reporter:
                rob.stryker Rob Stryker
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: