facebook

How to add libraries intothe MANIFEST.MF of a Web App ?

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

    Dexia
    Member

    Hi all,

    I have a nice WebApplication (Web Project). I am using the MANIFEST.MF editor showing the following tabs : Overview, Dependencies, …, MANIFEST.MF (which is the source code view).
    In all these tabs, i can’t add some library that reside outside of the WebApp (in the EAR Project in my case).

    I have to manually update the source code to get the corect MANIFEST.MF :
    Manifest-Version: 1.0
    Class-Path: lib/JDOM-Parser-1-0b7.jar
    lib/Jakarta-Xalan-2-1-1.jar
    lib/Log4j1.2.7.jar
    lib/avalon4.1.2.jar

    The directory lib refers to the lib directory of the EAR.. that is how we work (no lib in the WEB-INF/lib but all lib in the EAR/lib directory but with a MANIFEST.MF updated !).

    Any suggestions for updating the MANIFEST.MF visually?
    Thanks

    #239988

    Riyad Kalla
    Member

    Dexia,
    At this time there is not additional support for editing the manifest file. However, if you wanted to pull these libs out from your EAR into User Libraries, and then add them all to your individual web projects, and then add your web projects as modules to your EAR, you wouldn’t need to monkey around with the manifest files.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How to add libraries intothe MANIFEST.MF of a Web App ?

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