facebook

How to control what gets put in WEB-INF/lib?

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

    I am trying to use TomCat 6 and Java 6.

    My project needs the Tomcat jsp-api.jar and servlet-api.jar files to compile.

    I put these on the Properties -> Java Build Path with “add external jar”.
    The project compiles OK.

    But when I deploy it to TomCat it copies these libs into WEB/lib.
    I dont want them in WEB-INF/lib because TomCat has them anyway.

    How can I resolve this?

    Should I add a “server runtime” to the Java Build Path?
    (If so how do I add one? When I try to do this the “server library” pane is blank)

    Thanks – Adam

    #267099 Reply

    Riyad Kalla
    Member

    Adam,
    If you open your project properties and go to MyEclipse > Web> Deployment tab, uncheck the deployment rule of deploying External JARs and you should be all set.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How to control what gets put in WEB-INF/lib?

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