Your SCM may support general purpose counters as perforce does. Simply use a
counter for each jar, incrementing with each build. But I tend to stick with
build-wide numbering as opposed to individual jar, war, ear numbering.

Les


> -----Original Message-----
> From: Conor MacNeill [mailto:[EMAIL PROTECTED]]
> Sent: 03 April 2001 04:24
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [build numbers] How to add this ?
> 
> 
> Checkout the propertyfile task
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, 3 April 2001 1:12 PM
> > To: [EMAIL PROTECTED]
> > Subject: [build numbers] How to add this ?
> > 
> > 
> > I would like to add a monotonically increasing build number to 
> > every jar file whenever a new compile/update takes place.
> > Has anyone done this before in Ant ?
> > 
> > Thanks
> > 
> > Gavin
> > __________________________________________________________________
> > _________
> > Visit http://www.visto.com/info, your free web-based 
> > communications center.
> > Visto.com. Life on the Dot.
> > 
> > 
> 

Reply via email to