Perl build script woes doing Source Safe get

Discussion in 'Perl Misc' started by Marc S. Gibian, Aug 23, 2003.

  1. 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
    Marc S. Gibian, Aug 23, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dpackwood
    Replies:
    3
    Views:
    1,784
  2. ~~~ .NET Ed ~~~
    Replies:
    1
    Views:
    4,184
    Cowboy \(Gregory A. Beamer\)
    Feb 26, 2005
  3. nalakainfo
    Replies:
    0
    Views:
    635
    nalakainfo
    Jan 31, 2007
  4. Replies:
    2
    Views:
    331
  5. Yogi
    Replies:
    1
    Views:
    427
    Peter Makholm
    Sep 13, 2012
Loading...

Share This Page