File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WSAD overwriting MANIFEST.MF" Watch "WSAD overwriting MANIFEST.MF" New topic

WSAD overwriting MANIFEST.MF

Bruno Melloni

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 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
I agree. Here's the link:
subject: WSAD overwriting MANIFEST.MF
It's not a secret anymore!