Eric, you will need to get and build the latest source code from CVS.
There are two optional tasks called vss.VSSLABEL and PropertyFile.
The VSSLABEL task will create a label in VSS, and the PropertyFile task will
allow you to increment a value in a property file.  You will need to use the
property file to keep track of the current build number.  Look at the
javadoc
for the details.

There was some discussion about this recently in the ant-user list.

Ken


> -----Original Message-----
> From: Weimer, Eric - Software Architects [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 01, 2001 10:41 AM
> To: '[EMAIL PROTECTED]'
> Subject: VSS Label w/ version increment
> 
> 
> I was wondering if there is any way to label in MS Visual Sourcesafe
> evertime I run my ant build file and increment the version 
> number on my new
> build for distribution. For instance, 1.1 becomes 1.2 and so on...
> 
> I am very new to ant and need to attempt something like this.
> 
> Thanks in advance,
> Eric
> [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to