[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9824) When in zip mode, changing a web project's servlet file inside an ear project does not initiate a proper zipped publish

Rob Stryker (JIRA) jira-events at lists.jboss.org
Tue Oct 4 00:23:26 EDT 2011


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

                 Key: JBIDE-9824
                 URL: https://issues.jboss.org/browse/JBIDE-9824
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: JBossAS/Servers
    Affects Versions: 3.3.0.M3
            Reporter: Rob Stryker
            Assignee: Rob Stryker
             Fix For: 3.3.0.M4


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. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list