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

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