ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Euan Guttridge <>
Subject RE: VSSGET and labeling...
Date Wed, 05 Dec 2001 15:58:25 GMT
Attached as Windows Zip file. Contains source code and .exe. Feel free to
post it to any public sites.

-----Original Message-----
From: Shawn McManus []
Sent: 05 December 2001 15:49
To: Ant Users List
Subject: RE: VSSGET and labeling...

Please do (post the exe).  If you can post it to a public site, please
do that too.  Many mail services may not allow .exe attachments.


-----Original Message-----
From: Euan Guttridge []
Sent: Wednesday, December 05, 2001 9:50 AM
To: 'Ant Users List'
Cc: ''
Subject: RE: VSSGET and labeling...

(Just seen late posting but may help others if not already solved)

I have also experienced hours of pain using VSS and getting [Version not
found] when getting individual labels. The problem is a 100% bug with
However Microsoft kindly wrote a small .exe for me which will
get files with specific labels - yes I was also shocked. This works
time. I use the following target to call it from Ant:

<target name="fetch_labelled_VSSfiles">
	<exec executable="d:\SSGet.exe">
	<arg line="SSget -p'${vss_path}' -r -uuser,password
\\builddv1\PolVSS" />

The combined source code and .exe zipped are 60kb. I will post as an
attachment to the list if requested.. 

-----Original Message-----
From: Andrew Close []
Sent: 29 November 2001 20:22
To: Ant Users List
Subject: VSSGET and labeling...

hello all

i'm attempting to get my ant script to check out
labeled files from VSS and i'm having a couple of
problems. :)  if i label individual files in my
project '2.0' and then try to get '2.0' from VSS i get
the following error:

     [echo] Extracting Label: 2.0 from VSS...
   [vssget] Set D:\Development\Build\Marketing as the
default folder for project
   [vssget] Version not found


D:\DEVELO~1\MARKET~1\build.xml:43: Failed executing:
"D:\Program Files\Microsoft
 Visual Studio\VSS\\win32\ss" Get $/MKTG
-GLD:\Development\Build\Marketing -I- -
R -VL2.0 "-YLocalBuild, LocalBuild"

but if i label the project root '2.0' and thus label
each file(the latest version of the file) in the
project '2.0', my ant script works fine.  however, i
don't want the latest version of each file to be
labeled '2.0'.  we have added files, made changes,
etc. and want to release things that work(no runtime
errors) from a couple of days ago.  the VSS help is
pretty sparse on checking out labeled files from the
command line and how to label them.

attached is the ant script we're attempting to use.
thanks for any help.


Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message