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:
parent
4c9ca0597b
commit
4d7410620c
@ -249,6 +249,8 @@
|
|||||||
git clone https://gerrit.googlesource.com/buck
|
git clone https://gerrit.googlesource.com/buck
|
||||||
cd buck
|
cd buck
|
||||||
git checkout 274acb17e9b6dc9ee60bc1371c47a7f49640c24c
|
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
|
ant
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user