#!/bin/csh

unsetenv CLASSPATH
unsetenv JDK_HOME
unsetenv JAVA_HOME

env SHELL=/bin/csh /unige/util/bin/envv << %%%EOF%%% > /tmp/envv.$$

add     PATH            /local/java/java1.3/bin 1

%%%EOF%%%

source /tmp/envv.$$; /bin/rm /tmp/envv.$$
setenv JAVA_HOME /local/java/java1.3/
setenv CLASSPATH /local/java/classes/fop/build/fop.jar:/local/java/classes/fop/lib/xml-apis.jar:/local/java/classes/fop/lib/xercesImpl-2.2.1.jar:/local/java/classes/fop/lib/xalan-2.4.1.jar:/local/java/classes/fop/lib/batik.jar:/local/java/classes/jai/lib/jai_core.jar:/local/java/classes/jai/lib/jai_codec.jar:/local/java/classes/fop/lib/jimi-1.0.jar:/local/java/classes/fop/lib/avalon-framework-cvs-20020806.jar:.

echo Someone is doing the XML to XSL/FO to PDF you requested

java org.apache.fop.apps.Fop -xml $1 -xsl $2 $3



