facebook

User Libraries deployed to WEB-INF\lib directory

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

    sbirnie
    Member

    I’ve created several Eclipse User Libraries and I’ve added them to a MyEclipse Web project. When I deploy the build to a server (Tomcat 5.5 to be exact), it does not deploy the jar files of the User Libraries.

    I looked under the project properties, MyEclipse-Web and see that there’s configuration settings for Library Deployment Policies. I changed the workspace settings and checked ‘Jars in Web Project’s user libraries’, but they’re still not being deployed.

    Am I misunderstanding what that means? How do I get the jar files from the User Libraries put into the WEB-INF\lib directory when I deploy, or should I just create a build.xml to do it?

    Thanks.

    #253985 Reply

    sbirnie
    Member

    On another note (maybe belonging in another topic), is there a way you can override the deploy button to run your build.xml script to create the war or ear? We have files that are populated when the build.xml is run, but that isn’t done when the MyEclipse deploy screens are used.

    #254068 Reply

    Scott Anderson
    Participant

    On question 1 (deployment of User Libs), I’d recommend that you read our Working with Web Projects quickstart, specifically all of Section 10. It details how all the advanced library deployment settings work and should be able to clear up any confusion.

    As for having the deployer run the build.xml script, that’s unfortunately not possible at this time. However, if we knew specifically what types of files you’re trying to add/build, we might be able to suggest a workaround, like adding a custom Ant builder to the project or something else.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: User Libraries deployed to WEB-INF\lib directory

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