Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (27 sloc) 0.678 kb
#!/bin/sh -
#
# build script for 1.5
#
# If it's given a buildname it creates a subdirectory and places a build in it,
# otherwise it just creates the docs and class files.
#
JDKPATH=/opt/jdk1.5.0 # JDK 1.5 location
JAVA_MAIL_HOME=/opt/javamail
JAVA_ACTIVATION_HOME=/opt/jaf
JUNIT_HOME=/opt/junit
JAVA_HOME=$JDKPATH
export JAVA_HOME
PATH=$JDKPATH/bin:$PATH
export PATH
CLASSPATH=$JAVA_MAIL_HOME/mail.jar:$JAVA_ACTIVATION_HOME/activation.jar:$JUNIT_HOME/junit.jar:$CLASSPATH
export CLASSPATH
if [ "$1" = "test" ]
then
ant -f jdk15.xml test
else
if ant -f jdk15.xml build-provider
then
ant -f jdk15.xml build
ant -f jdk15.xml zip-src
fi
fi
Jump to Line
Something went wrong with that request. Please try again.