]
Rob Stryker commented on JBIDE-20711:
-------------------------------------
Current behavior seems to publish the new module as expected... however it never deletes
the old one. This seems an even harder api question because we don't get an event
indicating the rename.
Changing deploy-name in component xml file will not take effect
---------------------------------------------------------------
Key: JBIDE-20711
URL:
https://issues.jboss.org/browse/JBIDE-20711
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: server, upstream
Affects Versions: 4.3.0.CR1
Reporter: Rob Stryker
Assignee: Rob Stryker
Fix For: 4.4.x
Steps to replicate:
1) Create a dynamic web project TestProject
2) Create a server
3) Add/Remove action in servers view. You will see the module name is TestProject
4) Open the component.xml file in .settings folder and change deploy-name to some new
value (RobsTest)
5) Add/Remove, note module name didn't change
6) Publish deployment, note its still deploying as TestProject
7) Close project, then re-open it
8) Add/Remove action, note the module now reads TestProject (RobsTest) (or similar)
9) Publish, note module is deployed as RobsTest.war