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

build.sh 663B

12345678910111213141516171819202122232425
  1. #!/bin/sh
  2. # This should be executable.
  3. echo
  4. echo "Fop Build System"
  5. echo "----------------"
  6. echo
  7. if [ "$JAVA_HOME" = "" ] ; then
  8. echo "ERROR: JAVA_HOME not found in your environment."
  9. echo
  10. echo "Please, set the JAVA_HOME variable in your environment to match the"
  11. echo "location of the Java Virtual Machine you want to use."
  12. exit 1
  13. fi
  14. LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:./lib/ant.jar:./lib/w3c.jar:./lib
  15. ANT_HOME=./lib
  16. echo Building with classpath $CLASSPATH:$LOCALCLASSPATH
  17. echo
  18. echo Starting Ant...
  19. echo
  20. $JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath "$LOCALCLASSPATH:$CLASSPATH" org.apache.tools.ant.Main $*