Community
Participate
Working Groups
Build ID: M20080221-1800 Steps To Reproduce: 1. Make a dynamic web project and deploy somewhere 2. Copy this project in eclipse to a new project (e.g. copy&pase) and give the new project another name 3. Rename also the context root in the new project using the eclipse project properties (e.g. take also the project name of the new project) 4. The new project will keep its old deploy-name 5. The deploy-name is used in the Server View and so it is very confusing to see the old deploy-name 6. The deploy-name is used to deploy to e.g. a Tomcat container and so it is very confusing that it is not the same name as the context root --> Tomcat will consider the deploy-name as it's context root More information: Sample of a wrong deploy-name in the new copied project: Bug: TomcatJAXWS should be HelloWorld File .settings/org.eclipse.wst.common.component: <?xml version="1.0" encoding="UTF-8"?> <project-modules id="moduleCoreId" project-version="1.5.0"> <wb-module deploy-name="TomcatJAXWS"> <wb-resource deploy-path="/" source-path="/WebContent"/> <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/> <wb-resource deploy-path="/WEB-INF/classes" source-path="/generated/src"/> <property name="java-output-path" value="build/classes"/> <property name="context-root" value="HelloWorld"/> </wb-module> </project-modules>
Fixing the component.
What's the status of this bug?
This bug is still present in Eclipse 4.4. The deploy-name attribute of the wb-module element in the file org.eclipse.wst.common.component is not updated when a copy of a project is made.
Is there anything a mortal man can do to help solve this bug?