File: build1-3

package info (click to toggle)
bouncycastle 1.44%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 25,148 kB
  • ctags: 29,306
  • sloc: java: 277,890; xml: 1,881; sh: 974; makefile: 68
file content (39 lines) | stat: -rw-r--r-- 949 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/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.3.1  # JDK 1.3 location
JAVA_MAIL_HOME=/opt/javamail-1.3.1
JAVA_ACTIVATION_HOME=/opt/jaf-1.0.2
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 jdk13.xml test
else
if [ "$1" = "provider" ]
then
    ant -f jdk13.xml build-provider
    ant -f jdk13.xml zip-src-provider
else
    if ant -f jdk13.xml build-jce
    then
        ant -f jdk13.xml build
        ant -f jdk13.xml zip-src
    fi
fi
fi