5c3ea7e43f
It should contain all and only the jars in lib/endorsed. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352385 13f79535-47bb-0310-9956-ffa450edef68
41 lines
826 B
Bash
Executable File
41 lines
826 B
Bash
Executable File
#!/bin/sh
|
|
# ----- Verify and Set Required Environment Variables -------------------------
|
|
|
|
if [ "$JAVA_HOME" = "" ] ; then
|
|
echo You must set JAVA_HOME to point at your Java Development Kit installation
|
|
exit 1
|
|
fi
|
|
|
|
chmod u+x ./tools/antipede/bin/antRun
|
|
chmod u+x ./tools/antipede/bin/ant
|
|
|
|
# ----- Verify and Set Required Environment Variables -------------------------
|
|
|
|
if [ "$TERM" = "cygwin" ] ; then
|
|
S=';'
|
|
else
|
|
S=':'
|
|
fi
|
|
|
|
# ----- Set Up The Runtime Classpath ------------------------------------------
|
|
|
|
OLD_ANT_HOME=$ANT_HOME
|
|
unset ANT_HOME
|
|
|
|
CP=$CLASSPATH
|
|
export CP
|
|
unset CLASSPATH
|
|
|
|
CLASSPATH="`echo ./lib/endorsed/*.jar | tr ' ' $S`"
|
|
export CLASSPATH
|
|
|
|
echo Using classpath: \"$CLASSPATH\"
|
|
$PWD/./tools/antipede/bin/ant -emacs $@
|
|
|
|
unset CLASSPATH
|
|
|
|
CLASSPATH=$CP
|
|
export CLASSPATH
|
|
ANT_HOME=OLD_ANT_HOME
|
|
export ANT_HOME
|