Changeset 16732
- Timestamp:
- 2008-08-13T09:17:53+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/shared/linux/rk
r16541 r16732 16 16 echo "usage: $rk_name [-sim] [-from <target>] [other-args]" 17 17 echo " -sim" 18 echo " (shortcut for -Dexecute=false)"19 18 echo " simulation only, don't actually do anything" 20 19 echo 21 20 echo " -from <target>" 22 echo " (shortcut for -Dresume.from=<target>)"23 21 echo " start execution from the target with the given target address" 24 echo " first level targets can be referred to by name. E.g., -from compile is the same as -from 1" 22 echo 23 echo " -to <target>" 24 echo " stop execution just before the target with the given target address" 25 echo 25 26 echo 26 27 echo " -descend <target>" 27 echo " (shortcut for -Dresume.descend=<target>)" 28 echo " execute only the descendents of the target specified with -from" 29 echo " for example, with -descend 3, targets 3.1, 3.2, 3.3 etc. would be executed, but execution 30 echo " would stop before target 4 28 echo " execute only the target with the given address, including subtargets" 31 29 echo 32 30 echo " -cp" … … 48 46 CLASSPATH=$CLASSPATH:$RK_HOME/packages/ant-installer/classes 49 47 48 #set ANT_HOME 49 export ANT_HOME=$RK_HOME/packages/ant 50 50 51 #create the command 51 toexec="$ RK_HOME/packages/ant/bin/ant-lib `pwd`/installer/classes -f $RK_HOME/ant-scripts/build.xml -Dbasedir=`pwd` -D$rk_name.home=$RK_HOME"52 toexec="$ANT_HOME/bin/ant -addressing -lib `pwd`/installer/classes -f $RK_HOME/ant-scripts/build.xml -Dbasedir=`pwd` -D$rk_name.home=$RK_HOME" 52 53 53 54 #pass on the arguments … … 57 58 show_help 58 59 exit 59 60 60 elif [ "$1" == "-cp" ]; then 61 61 echo $CLASSPATH 62 62 exit 63 64 elif [ "$1" == "-sim" ]; then65 toexec="$toexec -Dexecute=false"66 shift67 68 elif [ "$1" == "-descend" ]; then69 toexec="$toexec -Dresume.descend="70 descend=`echo $2 | sed 's/compile/1/g' | sed 's/create-distributions/2/g' | sed 's/create-installer/3/g' | sed 's/wrap/4/g'`71 toexec=$toexec$descend72 shift 273 74 elif [ "$1" == "-from" ]; then75 76 toexec="$toexec -Dresume.from="77 from=`echo $2 | sed 's/compile/1/g' | sed 's/create-distributions/2/g' | sed 's/create-installer/3/g' | sed 's/wrap/4/g'`78 toexec=$toexec$from79 shift 280 81 elif [ "$1" == "-to" ]; then82 83 toexec="$toexec -Dresume.to="84 to=`echo $2 | sed 's/compile/1/g' | sed 's/create-distributions/2/g' | sed 's/create-installer/3/g' | sed 's/wrap/4/g'`85 toexec=$toexec$to86 shift 287 88 89 63 else 90 64 toexec="$toexec $1"
Note:
See TracChangeset
for help on using the changeset viewer.