Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSAD overwriting MANIFEST.MF

 
Bruno Melloni
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic