You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by pb...@apache.org on 2002/10/12 05:27:04 UTC
cvs commit: xml-fop/bin fopcomp
pbwest 2002/10/11 20:27:04
Modified: bin Tag: FOP_0-20-0_Alt-Design fopcomp
Log:
Added -g flag support.
Revision Changes Path
No revision
No revision
1.1.2.2 +18 -8 xml-fop/bin/Attic/fopcomp
Index: fopcomp
===================================================================
RCS file: /home/cvs/xml-fop/bin/Attic/fopcomp,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- fopcomp 8 May 2002 05:17:34 -0000 1.1.2.1
+++ fopcomp 12 Oct 2002 03:27:03 -0000 1.1.2.2
@@ -1,13 +1,23 @@
-#!/bin/ksh
+#!/bin/sh
function prefix {
typeset path
path=`pwd`
expr $path : '\(.*\)src/org/apache/fop/.*'
}
-set -x
-if [ $1 = "-j" ]; then
- shift
- javac -verbose -d `prefix`build/classes -sourcepath `prefix`src "$@"
-else
- jikes -verbose +F -d `prefix`build/classes -sourcepath `prefix`src "$@"
-fi
+#set -x
+compiler="jikes"
+until case "$1" in
+ -j) compiler=javac
+ echo Using javac
+ false
+ ;;
+ -g) debug="-g"
+ echo Debugging on
+ false
+ ;;
+ esac
+do
+ shift
+done
+
+$compiler $debug -verbose -d `prefix`build/classes -sourcepath `prefix`src "$@"
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org