facebook

Terminology question regarding deployment policy

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #273360 Reply

    darrinmay
    Member

    Hi,
    I’ve been trying to configure a web project for deployment and I’m having trouble understanding the difference between
    —“Include Jars exported by dependent Java projects”
    and
    —“Include exported user-libraries of dependent Java projects”

    Does anyoyne know?

    Thanks!

    #273630

    Riyad Kalla
    Member

    Include Jars exported by dependent Java projects

    + Web Project
    + (Depends On) Java Project
    + (Which Exports) Some JAR, like commons-logging.jar
    == When the Web Project is deployed, it won’t just package of the Java Project, but it will also include the libs exported from the Java project (think of it as 3-levels deep of dependency management)

    Include exported user-libraries of dependent Java projects

    Same idea as above, except instead of straight JARs, it will honor the exporting of entire User Libraries

    #273642

    darrinmay
    Member

    So what’s the difference btwn. a “dependent jar” and an “exported User Library”

    #273645

    Riyad Kalla
    Member

    Go to your Java Build Path then the Libraries tab for your Java project. You can add different kinds of resources to your build path this way, most common are JARs (like commons-logging.jar) and another common way is to add a User Library that contains a bunch of JARs.

    Either can be exported from the Java Project, in which case any Web Project that relies on that Java Project will pickup and deploy those resources as well.

    #273646

    darrinmay
    Member

    Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Terminology question regarding deployment policy

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