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

1234567891011121314151617181920212223242526272829303132333435
  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. if test ! -f bootstrap/lib/ant.jar -o ! -x bootstrap/bin/ant -o ! -x bootstrap/bin/antRun ; then
  9. echo Bootstrap FAILED
  10. exit
  11. fi
  12. LOCALCLASSPATH=lib/crimson.jar
  13. # add in the dependency .jar files
  14. DIRLIBS=lib/optional/*.jar
  15. for i in ${DIRLIBS}
  16. do
  17. if [ "$i" != "${DIRLIBS}" ] ; then
  18. LOCALCLASSPATH=$LOCALCLASSPATH:"$i"
  19. fi
  20. done
  21. CLASSPATH=$LOCALCLASSPATH:$CLASSPATH
  22. export CLASSPATH
  23. if [ "$REALANTHOME" != "" ] ; then
  24. ANT_INSTALL="-Dant.install=$REALANTHOME"
  25. fi
  26. bootstrap/bin/ant -emacs $ANT_INSTALL $*