ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "detlef brendle" <>
Subject RE: Unable to Update WAR file
Date Sun, 10 Nov 2002 15:07:42 GMT
this is a know bug in ANT 1.5.1. It affects tar/war/zip task.
The zip task checks only if the source files you  whish to add to an
existing zip are more recent than the zip.
A workaround would be to <touch millis="0" /> the zip file before adding.

dont know whether its already fixed in the latest built.
check the bugtracking database if you like to know.

  -----Original Message-----
  From: Yalavarthi, Vasu []
  Sent: Sonntag, 10. November 2002 07:52
  To: ''
  Subject: Unable to Update WAR file

   I have written an ANT build script to generate a J2EE web application
  I am creating the WAR file in one target and trying to include more files
to it in another target using the update="true" attribute.
  But it is not updating the WAR file at all.

  Am i missing something or is it a know problem?

  The following is the target which is trying to update the WAR file...

    <target name="vasu_war" depends="war">
      <war destfile="${}/${}WebApp.war"
        <fileset dir="${source}/jsp">
            <include name="**/vasujsp/**"/>

  Thanks in advance,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message