diff options
author | David Hook <dgh@cryptoworkshop.com> | 2014-07-21 11:35:37 +0400 |
---|---|---|
committer | David Hook <dgh@cryptoworkshop.com> | 2014-07-21 11:35:37 +0400 |
commit | 11d8fde12ea45f7debcd6fc5a448140b83a4c19a (patch) | |
tree | 48ed8a9b4124e9a58d3a34f8cf5371821d57efa0 /build1-3 | |
parent | e1218a07630c85a39586c285801af9a65f81411b (diff) |
compatibility updates
Diffstat (limited to 'build1-3')
-rw-r--r-- | build1-3 | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/build1-3 b/build1-3 new file mode 100644 index 00000000..4f698cd5 --- /dev/null +++ b/build1-3 @@ -0,0 +1,37 @@ +#!/bin/sh - +# +# build script for 1.3 +# +# 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.3.1 # JDK 1.3 location +XALAN_HOME=../apache/xalan-j_2_7_0 +W3C_HOME=../w3c + +JAVA_HOME=$JDKPATH +export JAVA_HOME + +PATH=$JDKPATH/bin:$PATH +export PATH + +CLASSPATH=$JAVA_MAIL_HOME/mail.jar:$JAVA_ACTIVATION_HOME/activation.jar:$W3C_HOME/w3c.jar:$XALAN_HOME/serializer.jar:$XALAN_HOME/xalan.jar:$XALAN_HOME/xercesImpl.jar:$XALAN_HOME/xml-apis.jar:$XALAN_HOME/xsltc.jar:$CLASSPATH +export CLASSPATH + +if [ "$1" = "test" ] +then + ant -f ant/jdk13.xml test +else +if [ "$1" = "provider" ] +then + ant -f ant/jdk13.xml build-provider + ant -f ant/jdk13.xml zip-src-provider +else + if ant -f ant/jdk13.xml build-jce + then + ant -f ant/jdk13.xml build + ant -f ant/jdk13.xml zip-src + fi +fi +fi |