Blame | 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/Automated11dABT_WORK=/home/buildadm/abt#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 1fiPATH=$ABT_HOME:$PATHcd $ABT_WORK$JAVA_HOME_1_6/bin/java -jar $JAR -c $GBE_RM_LOCATION -u $GBE_RM_USERNAME -p $GBE_RM_PASSWORD