blob: d7f1e46f7a80cad3ef97fbc2a3e1ba3c19bc361c [file] [log] [blame]
david_williamsc2f29802007-01-13 07:13:16 +00001#!/bin/sh
2
3# remember to leave no slashes on commonVariations in source command,
4# so that users path is used to find it (first). But, path on
5# commonComputedVariables means we expect to execute only our
6# version
7
8if [ -n $BUILD_INITIALIZED ]
9then
10 source commonVariations.shsource
11 source ${BUILD_HOME}/releng.control/commonComputedVariables.shsource
12fi
13
14# For most ant tasks, we want Java 4 to be default,
15# so if not desired (such as for WTP 2.0 unit tests),
16# then we have to spec Java 5 right there where we run
17# the tests.
18export JAVA_HOME=${JAVA_4_HOME}
19
20
21ANT_CMD=${ANT_HOME}/bin/ant
22
23exec "$ANT_CMD" "$@"
24