Note that there are some explanatory texts on larger screens.

plurals
  1. POEclipse, Tomcat, m2e and War Overlay from artifact
    primarykey
    data
    text
    <p>I think this is a change precipitated by the move to automatic publishing in Tomcat?, but basically, it looks like when I have a project in eclipse that uses the war overlay, the resources are being copied from the local parent project, rather than that parent's war file. There's lots of building going on in the parent project, and pulling in files will not work, I need to base the child project off of the parent projects war file. Ideas on how to do this?</p> <p>*Edit -- some more details.</p> <p>The overlay works, and is specified in the POM as:</p> <pre><code> &lt;dependency&gt; &lt;groupId&gt;org.parentproject&lt;/groupId&gt; &lt;artifactId&gt;parentproject-web&lt;/artifactId&gt; &lt;version&gt;2.0-SNAPSHOT&lt;/version&gt; &lt;type&gt;war&lt;/type&gt; &lt;/dependency&gt; </code></pre> <p>this leads to the following the org.eclipse.wst.common.component</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;project-modules id="moduleCoreId" project-version="1.5.0"&gt; &lt;wb-module deploy-name="eurekastreams-web-ym2"&gt; &lt;wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/&gt; &lt;wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/&gt; &lt;wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/&gt; &lt;dependent-module deploy-path="/" handle="module:/overlay/prj/parentproject-web?includes=**/**&amp;amp;excludes=META-INF/MANIFEST.MF"&gt; &lt;dependency-type&gt;consumes&lt;/dependency-type&gt; &lt;/dependent-module&gt; &lt;dependent-module deploy-path="/" handle="module:/overlay/slf/?includes=**/**&amp;amp;excludes=META-INF/MANIFEST.MF"&gt; &lt;dependency-type&gt;consumes&lt;/dependency-type&gt; &lt;/dependent-module&gt; &lt;property name="context-root" value="parentproject-web-childproject"/&gt; &lt;property name="java-output-path" value="/parentproject-web-childproject/target/classes"/&gt; &lt;/wb-module&gt; </code></pre> <p></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload