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 597 B

123456789101112131415161718192021222324252627282930
  1. #!/bin/sh
  2. REALANTHOME=$ANT_HOME
  3. ANT_HOME=bootstrap
  4. export ANT_HOME
  5. if test ! -f bootstrap/lib/ant.jar -o ! -x bootstrap/bin/ant -o ! -x bootstrap/bin/antRun ; then
  6. /bin/sh ./bootstrap.sh
  7. fi
  8. LOCALCLASSPATH=lib/parser.jar:lib/jaxp.jar
  9. # add in the dependency .jar files
  10. DIRLIBS=lib/optional/*.jar
  11. for i in ${DIRLIBS}
  12. do
  13. if [ "$i" != "${DIRLIBS}" ] ; then
  14. LOCALCLASSPATH=$LOCALCLASSPATH:"$i"
  15. fi
  16. done
  17. CLASSPATH=$LOCALCLASSPATH:$CLASSPATH
  18. export CLASSPATH
  19. if [ "$REALANTHOME" != "" ] ; then
  20. ANT_INSTALL="-Dant.install=$REALANTHOME"
  21. fi
  22. bootstrap/bin/ant $ANT_INSTALL $*