facebook

Include .jar in .war archive

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

    haobaba1
    Member

    I am trying to deploy a webapp and include a .jar file the app is dependant on in the project. As it is a database driver and we may have several different versions in use in the same tomcat instance we need to keep them inside each individual project. How can I make myeclipse output the jar in the lib directory that is present in the developement environment.

    Thanks

    #228893 Reply

    Riyad Kalla
    Member

    1) Add it as an External JAR
    2) Configure your deployment rules to “deploy External JARs that are on build path”

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Include .jar in .war archive

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