I am using ANT to label files in VSS.
Basically you have to do something like this -

\\VSSServer\Share\path\directory Label
$/VSSPath/to/source/file/filename.java -LBuildVersion -V22 -C- -I-Y

This will label version 22 of the file filename.java with the label
"BuildVersion" 

I have written a task which can do this. Pls see attachment.

- vineet

-----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]

Attachment: MSVSSLABEL.java
Description: Binary data

Reply via email to