Build file to build SOA Tests. @echo off if ""%1""==""-h"" goto Help if ""%1""==""-help"" goto Help if ""%1""==""?"" goto Help SET APP_CP=${app.cp} "${java.home}\bin\java" -cp %APP_CP% -Dhost=%1% com.teamcenter.hello.Hello goto Exit :Help echo Usage: RunMe [http://server:port/tc] echo Will default to http://localhost:7001/tc if no argument is given. :Exit if [ "$1" = "-h" ] || [ "$1" = "-help" ] || [ "$1" = "?" ]|| [ $# -ne 1 ] then echo "Usage: ./RunMe.sh [http://server:port/tc]" echo "Will default to http://localhost:7001/tc if no argument is given." else export APP_CP=${app.cp} "${java.home}/bin/java" -cp $APP_CP -Dhost=$1 com.teamcenter.hello.Hello fi