Professional Web Applications Themes

Perl build script woes doing Source Safe get - PERL Miscellaneous

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 ...

  1. #1

    Default Perl build script woes doing Source Safe get

    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 Guest

  2. #2

    Default Re: Perl build script woes doing Source Safe get

    Marc S. Gibian (marc.gibianacm.org) wrote on MMMDCXLIII September
    MCMXCIII in <URL:news:8df11a0.0308221524.5f5fe3a5posting.goog le.com>:
    -:
    -: 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)?


    Do you actually have a Perl question, and did you forget to ask it,
    or did you post this in the wrong group?

    We are not a group that supports random programs that just happen
    to be written in Perl.


    Abigail
    --
    perl -MTime::JulianDay -lwe'r=reverse(M=>(0)x99=>CM=>(0)x399=>D=>(0)x99=> CD=>(
    0)x299=>C=>(0)x9=>XC=>(0)x39=>L=>(0)x9=>XL=>(0)x29 =>X=>IX=>0=>0=>0=>V=>IV=>0=>0
    =>I=>$==-2449231+gm_julian_day+time);do{until($=<$#r){$_.=$ r[$#r];$=-=$#r}for(;
    !$r[--$#r];){}}while$=;$,="\x20";print+$_=>September=>MCMXCI II=>=>=>=>=>=>=>=>'
    Abigail Guest

Similar Threads

  1. Newbie: How safe is source code?
    By John in forum ASP.NET Security
    Replies: 5
    Last Post: November 12th, 06:36 PM
  2. How do you simulate "." or "source" in a perl script ?
    By John Strauss in forum Perl / CGI
    Replies: 4
    Last Post: August 11th, 10:46 AM
  3. Debug ASP.Net / Source Safe Question
    By Ken Cox [Microsoft MVP] in forum ASP.NET General
    Replies: 0
    Last Post: July 30th, 02:35 PM
  4. Source Safe and expansion variables with Dreamweaver and Allaire Studio.
    By Jon F. Almada in forum Macromedia Dreamweaver
    Replies: 0
    Last Post: July 24th, 04:11 PM
  5. safe cgi programming in perl?
    By Steve in forum PERL Miscellaneous
    Replies: 4
    Last Post: July 15th, 10:33 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139