which javac >/dev/null 2>&1 if [ $? != 0 ] ; then export JAVA_HOME="**Replace with your value for JAVA home**" export PATH=$JAVA_HOME/bin/:$PATH echo "+ Set JAVA_HOME to $JAVA_HOME and updated path" cygpath 2>/dev/null if [ $? != 0 ] ; then echo "Detected runing in Cygwin environment => Changing JAVA_HOME to Windows native format" export JAVA_HOME=`cygpath -w "$JAVA_HOME"` fi fi source ./expeditee-setup.sh export ANT_HOME="$expeditee_home/dev/packages/apache-ant-1.9.2" export PATH="$ANT_HOME/bin/:$PATH" echo "+ Set ANT_HOME to $ANT_HOME and updated path" echo "-----" echo "To create an Expeditee distribution, type:" echo "" echo " ant build" echo ""