This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Websphere and the fly likes WSAD overwriting MANIFEST.MF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Websphere
Bookmark "WSAD overwriting MANIFEST.MF" Watch "WSAD overwriting MANIFEST.MF" New topic
Author

WSAD overwriting MANIFEST.MF

Bruno Melloni
Greenhorn

Joined: Oct 25, 2004
Posts: 3
I have a WAR and an EAR project. My library jars (i.e. Struts, log4j, etc) are in the EAR. I entered a classpath entry in the WAR's META-INF/MANIFEST.MF to point to the EAR's jar files, and therefore the application compiles correctly.

But when I try to run it, it fails to load the classes from the EAR's jars.

I test-exported the EAR, and I discovered that both manifest.mf for the EAR and WAR get overwritten with empty manifests. I suspect this is what happens when I try to just run it.

This is obviously a bug, can anyone suggest a cure?
(I hope it is not a flu shot, since those are scarce this year
 
Have you checked out Aspose?
 
subject: WSAD overwriting MANIFEST.MF
 
jQuery in Action, 3rd edition