title: Dependency from web module not deployed on Weblogic server 10.3.6 via Eclipse Kepler
body: <p>So we have an Ear project (<code>MyEar</code>) that contains three modules:</p>
  
  <ul>
  <li>Client module (let's call it <code>MyClient</code>)</li>
  <li>EJB module (let's call it <code>MyEjbModule</code>)</li>
  <li>Web module (let's call it <code>MyWebModule</code>)</li>
  </ul>
  
  <p>The web module contains a jnlp file under <code>MyWebModule/WebContent/MyApp.jnlp</code>
  This jnlp directs to a needed jar file, which we want to deploy automatically with the app, and this is where we face some issues at the moment.</p>
  
  <p>In eclipse, we set the MyWebModule project to deploy the jar file from some location to the root of the app (where the jnlp file is also deployed).</p>
  
  <p>This works fine on one machine, and every time we publish the project to the server a fresh jar gets copied from the specified location. However, on another machine, the project deploys properly with everything but this jar, which we have to place with the jnlp file under WebContent for it to deploy (which means we have to manually update that jar everytime).</p>
  
  <p>After a lot of research and trying to look for differences in the environments, we found a difference under the <code>{workspace}/.metadata/.plugins/org.eclipse.core.resources/.projects/MyEar/beadep/my_domain/MyEar/</code> folder, which seems to be where Eclipse stages the EAR before publishing to the server</p>
  
  <p>In the working deployment, everytime we publish our app we see an updated ear folder structure:</p>
  
  <ul>
  <li>lib</li>
  <li>META-INF</li>
  <li>MyClient.jar</li>
  <li>MyEJBModule.jar</li>
  <li>MyWebModule.war</li>
  </ul>
  
  <p>and the WAR folder of the web module contains the proper jar next to the jnlp file.</p>
  
  <p>However, in the other machine, under that folder we see a folder named <code>split_src</code> that only contains a META-INF folder with a couple of descriptors and a file named <code>.beabuild.txt</code></p>
  
  <p>It's worth noting that when exporting the EAR project to an ear file, the jar gets copied properly and placed inside the ear like it should.</p>
  
  <p>Does anyone have an idea why the differences in the <code>beadep</code> folder, and why the dependency isn't copied on one machine?</p>