Effect:
Locate the path where the project is located, open the. settings file, locate the Org.eclipse.wst.common.component file in the file, and view the contents
< ? xml version = "1.0" encoding = "UTF-8" ?> <project-modules id = "Modulecoreid" project-version = "1.5.0" >
<wb-module deploy-name="cpp-scf-manager">
<wb-resource deploy-path="/" source-path="/WebRoot" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/resources"/>
<dependent-module archiveName="cpp-scf-public.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/cpp-scf-public/cpp-scf-public">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="java-output-path" value="/cpp-scf-manager/WebRoot/WEB-INF/classes"/>
<property name="me-merge-utility-modules" value="true"/>
<property name="context-root" value="/cpp-scf-manager"/>
</wb-module>
</project-modules>
<dependent-module archiveName="cpp-scf-public.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/cpp-scf-public/cpp-scf-public">
<dependency-type>uses</dependency-type>
</dependent-module>
This is the content of the configuration associated project, which is the sub-project, the equivalent of the project to reach the jar file and mapped into the parent project under the Lib package;Java-output-pathrepresents the path of the Java post-compilation output;
to introduce a Java project to a Web projectPublish a project's class file to another project's Web-infTwo Project integration
From for notes (Wiz)
MyEclipse deployment, bringing a project to two projects