Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: JG_2_2_2_YARON
Fetching contributors…

Cannot retrieve contributors at this time

executable file 49 lines (36 sloc) 1.29 kb
#!/bin/sh
# Ant build script for the JGroups project
# The following variables have to be set in the following way
# PATH should include $JAVA_HOME/bin
# Questions: please email filip@filip.net (sourceforge id fhanik)
JG_HOME=.
case "`uname`" in
CYGWIN*)
cygwin=true
;;
Darwin*)
darwin=true
;;
esac
LIB=lib
if [ "$cygwin" = "true" ]; then
CP=${LIB}/ant.jar\;${LIB}/ant-optional.jar\;${LIB}/xercesxmlapi-2.1.0.jar\;${LIB}/xercesimpl-2.1.0.jar\;${LIB}/xalan.jar\;${LIB}/junit.jar
else
CP=${LIB}/ant.jar:${LIB}/ant-optional.jar:${LIB}/xercesxmlapi-2.1.0.jar:${LIB}/xercesimpl-2.1.0.jar:${LIB}/xalan.jar:${LIB}/junit.jar
fi
if [ -n "$JAVA_HOME" ]; then
if [ -f "$JAVA_HOME/lib/tools.jar" ]; then
if [ "$cygwin" = "true" ]; then
CP=${CP}\;${JAVA_HOME}/lib/tools.jar
else
CP=${CP}:${JAVA_HOME}/lib/tools.jar
fi
fi
else
echo "WARNING: JAVA_HOME environment variable is not set."
echo " If build fails because sun.* classes could not be found"
echo " you will need to set the JAVA_HOME environment variable"
echo " to the installation directory of java."
fi
java -classpath "${CP}" org.apache.tools.ant.Main -buildfile ${JG_HOME}/build.xml $*
#echo "CP is ${CP}"
Jump to Line
Something went wrong with that request. Please try again.