I have a prebuild WAR for BEA WLS. When configuring the WAR for another Environment we need to update a XML-File in this WAR with a new version. build.xml-snippet: <jar jarfile="tmp/dared.war" update="true"> <zipfileset dir="tmp/" prefix="WEB-INF/classes" includes="configuration.xml"/> </jar> After that the mentioned war only contains a Manifest.mf and the configuration.xml, but no longer the rest of "WEB-INF/classes"-directory structure, which has been there before this updating stuff. This has been detected on Windows 2K as well as on SuSE 7.3-Intel and a SuSE for IBM zSeries.
Addition to original description: When using war-task for updating a war with update="true" set, Ant tells me that webxml is a required attribute where the manual of Ant´s War-Task says that webxml is not required when update="true" is set. Seems that Jar, War and similar Tasks seems to have some serious problems when trying to update existing archives.
I assume you are creating the war archive just before that snippet? *** This bug has been marked as a duplicate of 10755 ***
Task has been updated to use War instead of Jar. Original Problem has been found in build.xml in a missing copy-task, which copies the war to the temp-dir. Build.Xml has been re-structured meanwhile so that this task ins´t needed any longer. Sorry!