aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorarved <arved@unknown>2001-05-10 01:44:04 +0000
committerarved <arved@unknown>2001-05-10 01:44:04 +0000
commit96ef52e8580b3fc5f670b577445e75de020a9fdd (patch)
tree58e1dd4f2d942841120878658868cb8f811d5045 /build.sh
parentb16c4cfa1dedd19d0c16e9cfdae8938a24ed8c03 (diff)
downloadxmlgraphics-fop-96ef52e8580b3fc5f670b577445e75de020a9fdd.tar.gz
xmlgraphics-fop-96ef52e8580b3fc5f670b577445e75de020a9fdd.zip
K. Liddle: testing support
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194237 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index ad0acde7a..f23d25714 100755
--- a/build.sh
+++ b/build.sh
@@ -16,10 +16,16 @@ LIBDIR=lib
LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:$LIBDIR/ant.jar:$LIBDIR/w3c.jar:$LIBDIR/buildtools.jar:$LIBDIR/xerces-1.2.3.jar:$LIBDIR/xalan-2.0.0.jar:$LIBDIR/xalanj1compat.jar:$LIBDIR/bsf.jar:$LIBDIR/jimi-1.0.jar
ANT_HOME=$LIBDIR
-echo Building with classpath $CLASSPATH:$LOCALCLASSPATH
echo
+CP=$LOCALCLASSPATH
+if [ ! "$CLASSPATH" = "" ]
+then
+CP=$CP:$CLASSPATH
+fi
+echo Building with classpath $CP
+
echo Starting Ant...
echo
-$JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath "$LOCALCLASSPATH:$CLASSPATH" org.apache.tools.ant.Main $*
+$JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath "$CP" org.apache.tools.ant.Main $*