facebook

5.5M2 Deployment bug

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #269067 Reply

    lindholm42
    Member

    When a web application is deployed, for some reason the deployment process looks at the
    Libraries in the “Java Build Path” list, rather than the libraries in WEB-INF/lib.

    This is problem for portlets since there can only be one instance of the portlet-api.jar
    in the whole web container (tomcat in this case). Since I need jar file to compile
    my source I keep it outside the WEB-INF/lib and manually add it to the compile class
    path. However, when deployment happens for whatever reason, the portlet-api.jar is copied
    over and now I have two instances of it in tomcat. So when I fire up tomcat the portlet fails
    because of the second copy.

    George

    #269149 Reply

    Riyad Kalla
    Member

    George,
    The deployment tool will deploy everything under Web Root as-is, that means any contents of WEB-INF/lib gets deployed. In addition to that, depending on the Project Properties > MyEclipse > Web > Deployment, rules and how they are set, the deployment tool will then additionally deploy those resources as well.

    #269328 Reply

    lindholm42
    Member

    Thanks, that was it. Seems like a strange choice for default value, but that’s me 🙂

    George

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: 5.5M2 Deployment bug

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