Codebase list libbsf-java / debian/RELEASE_2_2-1 build.sh
debian/RELEASE_2_2-1

Tree @debian/RELEASE_2_2-1 (Download .tar.gz)

build.sh @debian/RELEASE_2_2-1raw · history · blame

#!/bin/sh

echo
echo "Bsf Build System"
echo "----------------"

if [ "$JAVA_HOME" = "" ] ; then
  echo "ERROR: JAVA_HOME not found in your environment."
  echo
  echo "Please, set the JAVA_HOME variable in your environment to match the"
  echo "location of the Java Virtual Machine you want to use."
  exit 1
fi

ANT_HOME=/usr/share/ant
LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:$CLASSPATH

for A in /usr/share/java/* ; do
    LOCALCLASSPATH="$LOCALCLASSPATH:$A"
done

echo
echo Building with classpath $LOCALCLASSPATH

#chmod 0755 $ANT_HOME/bin/antRun

echo
echo Starting Ant...

#$JAVA_HOME/bin/java  -ss20000000 -mx40000000 -Dant.home=$ANT_HOME -classpath $LOCALCLASSPATH org.apache.tools.ant.Main $*
$JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath $LOCALCLASSPATH org.apache.tools.ant.Main $*