Community
Participate
Working Groups
Build Identifier: WTP 3.2.3 Renaming a project does not update the java-output-path property in org.eclipse.wst.common.component. The property keeps the old value. For example, create a Web 2.5 project named MyWeb1. Here is the contents of the file 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="MyWeb1"> <wb-resource deploy-path="/" source-path="/WebContent"/> <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/> <property name="context-root" value="MyWeb1"/> <property name="java-output-path" value="/MyWeb1/build/classes"/> </wb-module> </project-modules> Now rename the project (Right click -> Refactor -> Rename...) to MyWeb2. This is the file again: <?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0"> <wb-module deploy-name="MyWeb2"> <wb-resource deploy-path="/" source-path="/WebContent"/> <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/> <property name="java-output-path" value="/MyWeb1/build/classes"/> <property name="context-root" value="MyWeb2"/> </wb-module> </project-modules> Reproducible: Always
Created attachment 191945 [details] Proposed patch This patch replaces the old name with the new name of the project in java-output-path property.
approved
Committed to R3_2_maintenance and HEAD for WTP 3.2.4 and WTP 3.3 M7