]
Martin Malina commented on JBIDE-20711:
---------------------------------------
[~rob.stryker], I tried this in JBDS 10.0.0.Alpha2 on Mac. And I can't reproduce.
I changed the deploy-name in .settings/org.eclipse.wst.common.component and then refreshed
the project in project explorer. And then I opened the Add/Remove dialog on WildFly and it
said properly TestProject(RobsTest).
And so I deployed it and it correctly deployed RobsTest.war as /RobsTest
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