ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lisa Knee" <lisa.k...@clarussystems.com>
Subject Re: updating jar files with each build
Date Thu, 17 Oct 2002 00:12:49 GMT
Yes, that is what another ant user just suggested and it does work really
well.  Every time I "up the ante", ant is right there.  (sorry, it got the
better of me ;-)

Thanks!

lisa

----- Original Message -----
From: "Mike Dougherty" <MDougherty@XIFIN.Com>
To: "'Ant Users List'" <ant-user@jakarta.apache.org>
Sent: Wednesday, October 16, 2002 4:53 PM
Subject: RE: updating jar files with each build


> I use the <delete> task to remove the file when it should be overwritten.
Although, I do think it would be nice if <jar> had and overwrite="yes"
attribute.
>
> <delete file="classes.jar" />
> <jar destfile="classes.jar">
> ...
> </jar>
>
> Hope that helps,
> /mike
>
>
> > -----Original Message-----
> > From: Lisa Knee [mailto:lisa.knee@clarussystems.com]
> > Sent: Wednesday, October 16, 2002 4:35 PM
> > To: Ant Users List
> > Subject: Re: updating jar files with each build
> >
> >
> > Actually, it doesn't rewrite anything, unless I delete the
> > jar file each
> > time - painfully, manually.  Thus my inquiry as to a better way, which
> > doesn't seem to exist  ...  so thanks anyways!
> >
> > lisa
> >
> > ----- Original Message -----
> > From: "Peter" <kaffiene@xtra.co.nz>
> > To: "'Ant Users List'" <ant-user@jakarta.apache.org>
> > Sent: Wednesday, October 16, 2002 4:18 PM
> > Subject: RE: updating jar files with each build
> >
> >
> > > As I recall, update=true means that the files in the
> > jar/zip file are
> > > updated rather than the whole file being rewritten.
> > >
> > > So you probably don't want to used update=true
> > >
> > > > -----Original Message-----
> > > > From: Lisa Knee [mailto:lisa.knee@clarussystems.com]
> > > > Sent: Thursday, 17 October 2002 11:54 a.m.
> > > > 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:ant-user-unsubscribe@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <mailto:ant-user-help@jakarta.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message