facebook

Dependant Project Jar Failure

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #225781 Reply

    azca
    Member

    Using Eclipse 2.1.0
    MyEclipse 2.7.101
    Tomcat 4.1.27
    Java 1.4.2_05

    I have a web project which depends on two other web projects. I have marked both of these projects as dependent under “Java Build Path” -> “Projects” and then under the workbench “Web Project Build Path Deployment Policy” I select “Always JAR referenced Java projects”.

    However, upon inspecting both the WEN-INF/lib diretories in my project source folder as well as within my Tomcat 4.1.27 source tree, it appears that the jars were never created.

    I looked at this thread in particular http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-4795.html, but this does not appear to be my exact problem since I am not trying to redeploy the projects, but simply get them to deploy the first time.

    I have tried redploying, removing the deployments (deleting all files) and deploying again, and “rebuilding all” to no avail.

    I additionally need the jars from my dependant projects to get deployed to my “primary” project as well if that is possible. I feel that this is more than likely I configuration error on my part.

    Any help on how to enable this feature would be much appreciated. Thanks!

    #225794 Reply

    Riyad Kalla
    Member

    However, upon inspecting both the WEN-INF/lib diretories in my project source folder as well as within my Tomcat 4.1.27 source tree, it appears that the jars were never created.

    Please note the option you checked is referring to “Java Projects” not “Web Projects”, we do not support the combination of depenent web projects, there is no clearly defined rule on how to “Combine” such projects, which JARs or web.xml files take precidence over eachother, etc.

    I additionally need the jars from my dependant projects to get deployed to my “primary” project as well if that is possible. I feel that this is more than likely I configuration error on my part.

    If these are infact “utility” projects, they will likely need to become Java Projects that the single WEb Project depends on… if they are ALL web projects and you want them all deployed together as modules of a bigger app, you might look into creating an umbrella Enterprise Project that will bundle the Web Projects as modules of itself… see if that works for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Dependant Project Jar Failure

You must be logged in to post in the forum log in