facebook

Selecting wich jars go onto the .war file

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

    rjst
    Member

    Hi,

    I’m having a bit of a trouble selecting which JARs go onto the .war file.

    If I add jar files to the project libraries, they go into the jar, but if I add user libraries to the project, they don’t.

    Also, if I don’t want a particular jar that is in the project classpath to go into the deployment, how can I configure that ?

    thanks
    Ricardo

    #218452 Reply

    Riyad Kalla
    Member

    Ricardo,
    Currently everything in WEB-INF/lib will go into the WAR file also External JARs can be setup to go in as well, however we don’t support the deployment of UserLibraries or Library Sets yet.

    #218456 Reply

    rjst
    Member

    thanks

    Can you clarify on “can be setup to go” ?

    Is the inclusion of library sets expected in a future version ?

    thanks
    Ricardo

    #218459 Reply

    Riyad Kalla
    Member

    External JARs can be setup to go in as well

    Under your project properties and “MyEclipse-Web” settings, you can tell the deployment tool to additionaly copy all External JARs into the deployment WAR as well.

    Is the inclusion of library sets expected in a future version ?

    Yes, its a very popular request. No ETA though.

    #222299 Reply

    rjst
    Member

    any news on this one ?

    thanks
    Ricardo

    #222355 Reply

    Scott Anderson
    Participant

    It’s included in 3.8.3. Please see the Web Projects Quickstart in the Documentation section here:
    http://www.myeclipseide.com/ContentExpress-display-ceid-67.html

    Information on configuration is in the advanced section.

    #222891 Reply

    Hi!

    I’m using version 3.8.3 but I can’t get the dependent jar-files in the web module lib directory. Irecived the following error message after a while:

    Severity Description Resource In Folder Location Creation Time
    1 Undeployment failure on Tomcat 5. Directory C:\Program\Apache Software Foundation\Tomcat 5.0\webapps\oncall\WEB-INF unable to be deleted. If a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or manually remove the deployment at C:\Program\Apache Software Foundation\Tomcat 5.0\webapps\oncall oncall January 17, 2005 9:42:01 PM

    Any ideas why I can’t get it to work? I have checked the I want dependent files to be included upon deployment.

    Regards

    Jonas Karlsson, Linköping Sweden

    #222896 Reply

    Riyad Kalla
    Member

    Any ideas why I can’t get it to work?

    The problem is that you are attempting a redeployment against a running App Server, so as the error messages says, the JAR files are locked and can’t be removed/replaced so the deployment is failing. The workaround, as the error states, is to stop the server, then redeploy, then start it.

    If you do an explded deployment, changed files are immediately deployed for you to the server, so you don’t need to hit ‘redeploy’ each time.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Selecting wich jars go onto the .war file

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