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.

fopcomp 380B

1234567891011121314151617181920212223
  1. #!/bin/sh
  2. function prefix {
  3. typeset path
  4. path=`pwd`
  5. expr $path : '\(.*\)src/org/apache/fop/.*'
  6. }
  7. #set -x
  8. compiler="jikes +F"
  9. until case "$1" in
  10. -j) compiler=javac
  11. echo Using javac
  12. false
  13. ;;
  14. -g) debug="-g"
  15. echo Debugging on
  16. false
  17. ;;
  18. esac
  19. do
  20. shift
  21. done
  22. $compiler $debug -verbose -d `prefix`build/classes -sourcepath `prefix`src "$@"