I have cloned a new project from the old one using Eclipse Java EE IDE (Helios SR2).
After renaming context, components, folders, file name etc... I still have the following file .settings/org.eclipse.wst.common.component keeping the old project name: OLDPROJECT
<wb-module deploy-name="OLDPROJECT">
and
<property name="java-output-path" value="/OLDPROJECT/build/classes"/>
I tried to look for it in Project -> Properties but failed. So, could you please tell me how I can edit the file using Eclipse IDE?
.settings/org.eclipse.wst.common.component
<wb-module deploy-name="OLDPROJECT">
<wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<property name="java-output-path" value="/OLDPROJECT/build/classes"/>
<property name="context-root" value="NEWPROJECT"/>
</wb-module>
</project-modules>
Thanks for your help.
This is answered in https://stackoverflow.com/a/24890409
Right-clicking on an EAR project > Properties > Deployment Assembly.
The file is edited with the properties dialog "Deployment assembly": https://eclipse.org/webtools/releases/3.2.0/NewAndNoteworthy/javaee.php
If the dialog does not show up in project properties add org.eclipse.wst.common.modulecore.ModuleCoreNature to your .project file:
Eclipse Deployment Assembly does not appear in properties
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With