How is using the delete task better than having it deleted via the default behaviour?
> -----Original Message----- > From: Lisa Knee [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 17 October 2002 1:56 p.m. > To: Ant Users List > Subject: Re: updating jar files with each build > > Yes, I saw that, and ideally it would work that way but I found that the > delete task worked better. > > thanks! > > lisa > > ----- Original Message ----- > From: "Kris Henderson" <[EMAIL PROTECTED]> > To: "Ant Users List" <[EMAIL PROTECTED]> > Sent: Wednesday, October 16, 2002 5:41 PM > Subject: RE: updating jar files with each build > > > 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." > > Kris > > > -----Original Message----- > > From: Lisa Knee [mailto:[EMAIL PROTECTED]] > > 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: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>