Jon,

Thanks for the response.  Here are the relevant parts of the build.xml
file:

  <property name="vss.path" value="\\Puccini\VSS\win32" /> 
  <property name="project.path"
            value="$/${ant.project.name}/current/implementation" />
  <vsslabel vsspath="${project.path}"
            ssdir="${vss.path}"
            login="${vss.username},${vss.password}"
            label="${build.label}" />

Underneath "implementation" are a number directories (e.g. source,
database, doc, etc.).  When I run this task, only the "implementation"
directory gets a label.  None of the files in this directory get a label
nor do any of the subdirectories or their files.  I can't figure it out.
When I run ss.exe from the command line, it is the same thing.

Regards,
Dave

-----Original Message-----
From: Jon Skeet [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 12:33 AM
To: [EMAIL PROTECTED]
Subject: RE: VSS Label problems


> Does "vsslabel" recursively label everything in the specified project?
> I can't seem to get it to do this.  I also cannot get ss.exe to
> recursively label everything.  Is this standard VSS behavior?
> 
> The reason I ask is because I would like to label the entire 
> source tree
> and then pull (get) the source using that label.  This way I 
> can ensure
> this particular build can be reproduced in the future.  Am I 
> nuts?  Why
> wouldn't VSS have this behavior.
> 
> I would appreciate your thoughts on this matter.  How do you 
> ensure that
> you can reproduce your builds?

It certainly does it for me - I'm not sure there's really such a thing
as a recursive label in SourceSafe, they're *all* recursive as far as I
know.

How are you trying to do it? Are you only ending up getting the contents
of the top-level directory?

Jon

Reply via email to