source: trunk/Distribution/SW/FOP/examples/servlet/build.sh

Last change on this file was 2, checked in by jkacer, 18 years ago

Added all DocBook Framework stuff:

  • DocBook DTD
  • Transformation software FOP 0.20.5 and Saxon 6
  • XSL styles
  • Rexx scripts

Also added some WarpIN-related stuff for creation of WarpIN installation packages.
This state corresponds to version 1.0.0 from November 2005, just slightly modified to carry versioning information (Rexx scripts).

File size: 850 bytes
Line 
1#!/bin/sh
2# This file should be executable.
3echo
4echo "Fop Build System"
5echo "----------------"
6echo
7
8if [ "$JAVA_HOME" = "" ] ; then
9 echo "ERROR: JAVA_HOME not found in your environment."
10 echo
11 echo "Please, set the JAVA_HOME variable in your environment to match the"
12 echo "location of the Java Virtual Machine you want to use."
13 exit 1
14fi
15LIBDIR=../../lib
16LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip
17LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/ant-1.5.1.jar
18LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xml-apis.jar
19LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xercesImpl-2.2.1.jar
20LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xalan-2.4.1.jar
21
22ANT_HOME=$LIBDIR
23
24echo
25echo Building with classpath $LOCALCLASSPATH
26echo Starting Ant...
27echo
28
29$JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath "$LOCALCLASSPATH" org.apache.tools.ant.Main $*
Note: See TracBrowser for help on using the repository browser.