From: Jeremias Maerki Date: Fri, 22 Nov 2002 18:04:45 +0000 (+0000) Subject: Updated plan build X-Git-Tag: Alt-Design-integration-base~306 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b55dbee59b80d15f424ee24331553fb57740e990;p=xmlgraphics-fop.git Updated plan build git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195614 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/contrib/plan/README b/contrib/plan/README new file mode 100644 index 000000000..5ebe57ee2 --- /dev/null +++ b/contrib/plan/README @@ -0,0 +1,6 @@ +FOP Plan Readme + +The plan extension is an addition to FOP that can be used to produce a simple +plan diagram with tasks etc. + +See docs/plan.fo for further information. diff --git a/contrib/plan/build.bat b/contrib/plan/build.bat new file mode 100755 index 000000000..328fbef47 --- /dev/null +++ b/contrib/plan/build.bat @@ -0,0 +1,35 @@ +@echo off + +echo Plan Build System +echo ------------------- + +if "%JAVA_HOME%" == "" goto error + +set LIBDIR=..\..\lib +set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\ant.jar +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar + +set ANT_HOME=%LIBDIR% + +echo Building with classpath %LOCALCLASSPATH% + +echo Starting Ant... + +%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath "%LOCALCLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5 + +goto end + +:error + +echo ERROR: JAVA_HOME not found in your environment. +echo Please, set the JAVA_HOME variable in your environment to match the +echo location of the Java Virtual Machine you want to use. + +:end + +rem set LOCALCLASSPATH= + +pause \ No newline at end of file diff --git a/contrib/plan/build.sh b/contrib/plan/build.sh index 82972e6eb..180a65190 100755 --- a/contrib/plan/build.sh +++ b/contrib/plan/build.sh @@ -12,7 +12,11 @@ if [ "$JAVA_HOME" = "" ] ; then exit 1 fi LIBDIR=../../lib -LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:$LIBDIR/ant.jar:$LIBDIR/batik.jar:$LIBDIR/buildtools.jar:$LIBDIR/xercesImpl-2.0.1.jar:$LIBDIR/xalan-2.2D11.jar:$LIBDIR/xml-apis.jar:../../build/fop.jar:$LIBDIR/avalon-framework-cvs-20020806.jar +LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip +LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/ant.jar +LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xml-apis.jar +LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xercesImpl-2.2.1.jar +LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xalan-2.4.1.jar ANT_HOME=$LIBDIR echo diff --git a/contrib/plan/build.xml b/contrib/plan/build.xml index 656732c60..f46d78768 100644 --- a/contrib/plan/build.xml +++ b/contrib/plan/build.xml @@ -6,6 +6,15 @@ + + + + + + + + + @@ -20,9 +29,9 @@ - - - + + + @@ -35,10 +44,8 @@ - - - + @@ -46,22 +53,7 @@ - - - - - - - - - - - - - - - - + @@ -92,7 +84,7 @@ - + @@ -102,13 +94,15 @@ debug="${debug}" deprecation="${deprecation}" optimize="${optimize}" - excludes=""/> + excludes=""> + + - + @@ -131,7 +125,7 @@ - +