5 Replies Latest reply on Mar 19, 2009 10:25 AM by Anil Saldanha

    AbstractParsingDeployerWithOutput->setName

    Anil Saldanha Master

      http://anonsvn.jboss.org/repos/jbossas/projects/jboss-deployers/tags/2.0.5.GA/deployers-spi/src/main/java/org/jboss/deployers/spi/deployer/helpers/AbstractParsingDeployerWithOutput.java

      There is a setName method that will choke when a second call on the setName happens. Why not have "addName".

      This is bound to fail in cases such as the following:
      http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_5_0_1_GA/server/src/main/org/jboss/deployment/WebAppParsingDeployer.java

      Look at the "setWebXmlPath" property setter when someone tries to configure a metadata file that is not "web.xml"

      Maybe an "addName" method is useful?