make ant use java 7

The ant build tool has a package and runtime dependency on java 6.  The runtime dependency
can be changed by setting JAVA_HOME.  This change sets the ant runtime dependency to
java 7.

Change-Id: I5d2ac7fb3dc7bdb390edcc728b86a84c946f8752
This commit is contained in:
Khai Do 2014-02-21 10:32:37 -08:00
parent 4c9ca0597b
commit 4d7410620c

View File

@ -249,6 +249,8 @@
git clone https://gerrit.googlesource.com/buck
cd buck
git checkout 274acb17e9b6dc9ee60bc1371c47a7f49640c24c
# ant on precise depends on java6, so need to override with java7
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
ant
fi