This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
After run a web project, I add a new resource component to the project -> rerun the project, then the new added component does not get deploy Step To Reproduce: 1. Install NB Trunk 09/22/2009 build 2. Create a web app 3. Select to run the project 3. Add to a web app a new JMS resouce (eg, use the default and name the JNDI as Testjms/myQueue 4. Go to Server -> GlassFish V3 Domain -> Resources -> Connectors node to view if "Testjms/myQueue" deployed. BUG: Testjms/myQueue does not get deployed. It seems the run target does not know if there a new added element in the sun-resources.xml file so it call invoke the re-deploy target before run If I add a new JSP or Servlet file to the project then the redeploy action was happening
this seems like it is a dup of OR a variation of issue 173144
see also issue 141982
*** Issue 173144 has been marked as a duplicate of this issue. ***
Right, issue 141982 does describe what triggers this issue. Basically, when the content of the setup/sun-resource.xml file is modified, the changes are not detected and a redeploy operation is not triggered. Investigating to see if 'Run' action can cause resource registration always.
Fixed by changes for 141982