Rev 822 | Rev 850 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#!/bin/bash#ABT_HOME may be set in .bash_profile, to become centric to this when Release Planner diesABT_HOME=/home/buildadm/buildtoolABT_WORK=/home/buildadm/abt`hostname`#GBE_ABT, UNC, UNCNATIVEMAP set in .bash_profileJAR=$ABT_HOME/abtdD.jarexport ABT_HOME# do not export ABT_WORK JARif [ "x$GBE_RM_LOCATION" = "x" ] ; thenecho Error: Program abtlaunchecho Error: EnvVar GBE_RM_LOCATION not setecho Error: This is set within /etc/profileexit 1fiif [ "x$GBE_RM_USERNAME" = "x" ] ; thenecho Error: Program abtlaunchecho Error: EnvVar GBE_RM_USERNAME not setecho Error: This is set within /etc/profileexit 1fiif [ "x$GBE_RM_PASSWORD" = "x" ] ; thenecho Error: Program abtlaunchecho Error: EnvVar GBE_RM_PASSWORD not setecho Error: This is set within /etc/profileexit 1fiif [ "x$JAVA_HOME_1_6" = "x" ] ; thenecho Error: Program abtlaunchecho Error: EnvVar JAVA_HOME_1_6 not setecho Error: This is set within /etc/profileexit 1fiif [ ! -x $JAVA_HOME_1_6/bin/java ] ; thenecho Error: Program abtlaunchecho Error: The java program does not existecho Error: Location: $JAVA_HOME_1_6/bin/javaexit 1fiif [ ! -f $JAR ] ; thenecho Error: Program abtlaunchecho Error: Required Jar does not existexit 1fiif [ ! -d $ABT_WORK ] ; thenecho Error: Program abtlaunchecho Error: The ABT work directory does not existecho Error: Dir: $ABT_WORKexit 1fiPATH=$ABT_HOME:$PATHcd $ABT_WORKrm -f *.logrm -f *.xml$JAVA_HOME_1_6/bin/java -jar $JAR -c $GBE_RM_LOCATION -u $GBE_RM_USERNAME -p $GBE_RM_PASSWORD