You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.sh 503 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. if [ "$ANT_HOME" = "" ] ; then
  3. ANT_HOME=`pwd`
  4. fi
  5. export ANT_HOME
  6. LOCALCLASSPATH=`echo $ANT_HOME/lib/*.jar | tr ' ' ':'`
  7. if [ "$CLASSPATH" != "" ] ; then
  8. LOCALCLASSPATH=$CLASSPATH:$LOCALCLASSPATH
  9. fi
  10. if test -f $JAVA_HOME/lib/tools.jar ; then
  11. LOCALCLASSPATH=$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar
  12. fi
  13. echo
  14. echo Building with classpath: $LOCALCLASSPATH
  15. echo
  16. chmod 0755 $ANT_HOME/bin/antRun
  17. java -Dant.home=$ANT_HOME -classpath $LOCALCLASSPATH $ANT_OPTS org.apache.tools.ant.Main $*