Adding Label and Retrieving Label from VSS

Try this scenario.

Label a File on  VSS using the following inputs:

-Project: {whatever your project is}

-FileSpec: *.*

-New Label: fahdr

-Label Type: Text

-Answer Yes to Input Prompts: Check

Now this label would appear on the project files as seen by manually going into Visual Source Safe. However using FinalBuilder to retrieve this project would result in an error. Give the following inputs to Get the Project based on Label fahdr.

VSS Get Latest Version with the following inputs:

-Project: {whatever your project is}

-File: *.*

-Options: Recursive, BuildTree, Answer Yes to Input Prompts

-Label: fahdr

-Label Type: Text

-Answer Yes to Input Prompts: Check

This will result in an Error saying: Version not found.

WorkAround to this:

When putting Label use the above mentioned Method, however, the Input for FileSpec shoud be left empty instead of *.*.

Hi Fahd,

This isn't really so much a FinalBuilder bug as a quirk in VSS.

When you do a Label on *.*, you're actually labelling all of the files inside the project with that label.

When you do a Label without a filespec, you're actually labelling the project, not the files inside the project.

When you do a Get on *.*, it seems like VSS looks for a project with that label, instead of a project where all of the files inside the project have that label. Don't ask me why, it's just VSS's quirkiness I think.

Regards,

Angus

 

PS I moved your post from Automise Bug Reports to FinalBuilder General.