From df751d59aa3925f62bd51701209f5ca29d3cbbe2 Mon Sep 17 00:00:00 2001 From: David Hook Date: Tue, 3 Dec 2013 18:04:29 +1100 Subject: [PATCH] updates --- ant/jdk14.xml | 164 ++++++++++++++++++++++++++++++++++++++++++++++++++ build1-4 | 31 ++++++++++ 2 files changed, 195 insertions(+) create mode 100644 ant/jdk14.xml create mode 100644 build1-4 diff --git a/ant/jdk14.xml b/ant/jdk14.xml new file mode 100644 index 0000000000..33bc182bdd --- /dev/null +++ b/ant/jdk14.xml @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build1-4 b/build1-4 new file mode 100644 index 0000000000..cc4e059704 --- /dev/null +++ b/build1-4 @@ -0,0 +1,31 @@ +#!/bin/sh - +# +# build script for 1.4 +# +# 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.4.2 +JAVA_MAIL_HOME=/opt/javamail-1.3.1 +JAVA_ACTIVATION_HOME=/opt/jaf-1.0.2 + +JAVA_HOME=$JDKPATH +export JAVA_HOME + +PATH=$JDKPATH/bin:$PATH +export PATH + +CLASSPATH=$JAVA_MAIL_HOME/mail.jar:$JAVA_ACTIVATION_HOME/activation.jar:$CLASSPATH +export CLASSPATH + +if [ "$1" = "test" ] +then + ant -f ant/jdk14.xml test +else + if ant -f ant/jdk14.xml build-provider + then + ant -f ant/jdk14.xml build + ant -f ant/jdk14.xml zip-src + fi +fi