- This topic has 5 replies, 3 voices, and was last updated 19 years, 9 months ago by Riyad Kalla.
-
AuthorPosts
-
Stuart McGrigorParticipantI’ve got three libraries of external JARs defined under Preferences | Java | Build Path | User Libraries:
– Struts 1.2
– Fop 0.20.5
– Torque 3.1My webapps all compile fine, unfortunately the JARs referenced by the User Libraries are not being included in the WEB-INF/lib directory even though I’ve got the “Always deploy external libraries” options checked on the workspace preference page as well as the project preference page.
Of course I can copy the JARs into the WEB-INF/lib directory on my project – but that does rather defeat the purpose of the deployment settings.
– System Setup ——————————-
Operating System and version:
Eclipse version: v3.0.0
Eclipse build id: 200406251208
Fresh Eclipse install (y/n): y
If not, was it upgraded to its current version using the update manager?
Other installed external plugins:
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
MyEclipse version: v3.8GA
Eclipse JDK version: v1.4.2_02
Application Server JDK version: 1.4.2_02
Are there any exceptions in the Eclipse log file?– Message Body ——————————-
Riyad KallaMemberWe don’t currently support the deployment of User Libraries. The “External libraries” are libraries that you link to via the “Add External JAR” from your Java Build Path. However it is an open enhancement for us to support the deployment of the user libraries after some more discussion.
Stuart McGrigorParticipantThanks for the reply. Hopefully deployment of User Libraries will happen soon.
Stuart
Riyad KallaMemberTo help move it along I’ll add your comments to the PR issue we have filed as a “+1”
Matt G. MadhavanMemberHi,
When I deploy a web project, both the userlibs and the variables-lib donot get deployed to the web-inf/lib folder. Seems like this is an open issure for about a year now.Any solutions?
Matt
Riyad KallaMemberAny solutions?
Yea, version 3.8.3 added the ability to deploy User Libraries. Just make sure your deployment settings allow it: Window > Prefs > MyEclipse > J2EE PRojects > Web Projects > Deployment
Also these can be project-scoped settings, so either set them in your project, or set them globally and make sure your project doesn’t override them.
-
AuthorPosts