- This topic has 7 replies, 4 voices, and was last updated 19 years, 12 months ago by Riyad Kalla.
-
AuthorPosts
-
rjstMemberHi,
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
Riyad KallaMemberRicardo,
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.
rjstMemberthanks
Can you clarify on “can be setup to go” ?
Is the inclusion of library sets expected in a future version ?
thanks
Ricardo
Riyad KallaMemberExternal 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.
rjstMemberany news on this one ?
thanks
Ricardo
Scott AndersonParticipantIt’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.htmlInformation on configuration is in the advanced section.
Jonas KarlssonMemberHi!
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 PMAny 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
Riyad KallaMemberAny 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.
-
AuthorPosts