facebook

how to excludespecific jar libraries from deployment

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

    nealkatz
    Member

    I have recently upgraded to myeclipse for spring and I am having problems excluding certain jars from being deployed. (Note: this is not a spring project)

    I have 4 jars I need in tomcat/lib (mysql.jar,tomcat-dbcp,common-logging and log4j)
    I do NOT want these copied to WEB-INF/lib when I deploy

    under properties->build path, I have added these 4 to a User Library
    under properties->web->deployment I have tried all different combinations, nothing works.

    Curiously mysql.jar and tomcat-dbcp.jar are NOT copied
    BUT common-logging.jar and log4j.jar are always copied

    Any suggestions ?
    Thanks

    #314354 Reply

    support-swapna
    Moderator

    nealkatz,

    1) Can you please share your installation details with us from MyEclipse > Installation Summary > Installation Details? Paste them here for me.

    2) Go to properties->web->deployment,leave all the other options checked and uncheck ‘ use workbench default settings’ and ‘ JARS from user libraries’ . Remove the deployment from the Servers tab and then try deploying the application.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: how to excludespecific jar libraries from deployment

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