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.
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