facebook

Web Project deployer deploy non-exported libraries

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #307445 Reply

    Sam
    Participant

    I am using the latest MyEclipse 8.5. I have read the tutorials and search the forums but can’t find an answer to this question. I am working on a web project for jsf 2.0 which I have to add some libraries to the build path of the web project. The project Order and Export screen have these libraries not checked for export as they are provided by the container.

    The problem is the deployer still deploys those libraries to the WEB-INF/lib directory. From the documentation of the deployer, it seems that the deployer will limit the jars not exported by dependant projects but not the ones not exported by the actual project. We use the smart deployment strategy for the deployment of dependant projects and that works fine. But for the jars on the project build path we used to have everything checked. i did some tests to uncheck the user libraries and in this case it doesn’t deploy any of the jars not just the ones I don’t want to export.

    Please help

    #307449 Reply

    rmcvay
    Member

    Here’s an off the wall suggestion you might try until you get a real fix. What if you put those jars into another otherwise empty utility project added to your dependent projects list?

    #307452 Reply

    Sam
    Participant

    Yeah I am glad we think alike. Yes that is what I eventually did to fix the problem. I mean i had a little more complicated situation because some of the jars I actually wanted them to be deployed so had to mix and match which jars to be added to which project.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Web Project deployer deploy non-exported libraries

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