diff -r c1cbd33e46c0 -r f3475510d60c build_package.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build_package.pl Tue May 05 14:31:24 2009 +0100 @@ -0,0 +1,107 @@ +#!/usr/bin/perl -w + +use strict; + +use Getopt::Long; +use File::Path; + +my $sBOOTSTRAP_DIR="D:\\Helium\\hlm-apps\\bootstrap"; +my $sJOB_BASE_DIR="D:\\fbf_project"; +my $sCONFIG_REPO="\\\\lon-engbuild87\\d\$\\mercurial\\fbf\\configs\\dario_dev"; +my $nLOCK_FILE_MAX_ATTEMPTS = 5; +my $sNUMBERS_FILE="\\\\lon-engbuild87\\d\$\\numbers.txt"; + +my $sProjectRepo = ''; +my $sJobLabel = ''; +my $nCmdLineNumber; +GetOptions(('label:s' => \$sJobLabel, 'project:s' => \$sProjectRepo, 'number:s' => \$nCmdLineNumber)); + +if (!$sJobLabel or !$sProjectRepo) +{ + print "Usage: build_package.pl