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

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

      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.

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

              Created:
              Updated:
              Resolved: