ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kris Henderson" <>
Subject RE: updating jar files with each build
Date Thu, 17 Oct 2002 00:41:15 GMT
Maybe this will help,  the <jar> task documentation states this:

"The update parameter controls what happens if the JAR file already
exists. When set to yes, the JAR file is updated with the files
specified. When set to no (the default) the JAR file is overwritten. An
example use of this is provided in the Zip task documentation."


> -----Original Message-----
> From: Lisa Knee []
> Sent: Wednesday, October 16, 2002 3:54 PM
> To: Ant Users List
> Subject: updating jar files with each build
> I'm new to Ant and loving it but have one simple question:  
> if a jar file is
> being created and you want it to overwrite the old one with each new
> compile, how do you set up your build.xml file for that?  I tried
> update="true" in the <jar> tag, but to no avail.
> thanks!
> lisa

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message