Perl build script woes doing Source Safe get

M

Marc S. Gibian

I have a Perl script that I have been using to perform builds. This
script uses the source safe command line to fetch files into the
workspace before doing any building. It does very rigorous error
checking to be sure no problems go unnoticed during the build process.
The fetch portion of this script has worked well for a number of
months.

Yesterday I implemented a new feature. The original script fetched the
latest version of all files, performed the build, and then at the very
end attached a build label to the latest version of all files (hoping
there had been no divergence between the fetch and the label steps).
My change is to very early in the build label the latest version of
the files, and then fetch the labeled version of all files. This is
failing, reporting an error 25600, "No such file or directory".

I tested one last variation... I took the current script and removed
the label argument from the get command and this is now failing with
the same 25600 error.

The command line(s) I am using are:

ss get $/project -R -I-Y -V"MYBUILDLABEL"

ss get $/project -R -I-Y

Immediately prior to the get I do a ss Workfold to set the working
folder to the desired target location, and that is succeeding with no
problem. I have tried running the command line by hand in a shell
window and THAT works without error.

My questions:

1 - Why is source safe reporting a non-zero error code? What error is
it reporting?

2 - Is my script just being overly sensitive to warnings and such, or
is there something here I can fix so that the "get" begins returning
zero (again)?

Thanks very much for your help,
Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top