ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Close <os_mon...@yahoo.com>
Subject VSSGET and labeling...
Date Thu, 29 Nov 2001 20:22:27 GMT
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:

extract_label:
     [echo] Extracting Label: 2.0 from VSS...
   [vssget] Set D:\Development\Build\Marketing as the
default folder for project
 $/MKTG?(Y/N)N
   [vssget] Version not found

BUILD FAILED

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"
        at
org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET.
java:185)
        at org.apache.tools.ant.Task.perform

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.

andy

__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
Mime
View raw message