aboutsummaryrefslogtreecommitdiff
path: root/buildScripts/vm-finder.ant.xml
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-03-19 03:02:38 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-03-19 03:17:38 +0100
commite69d0b143e9ebc909cc607402c1e93fd1bcd60f3 (patch)
tree638db39910516ad119b5803c6645e2edd5d6c851 /buildScripts/vm-finder.ant.xml
parent9498849d692040b8a57bc9f3332fa46f4b4c3665 (diff)
downloadlombok-e69d0b143e9ebc909cc607402c1e93fd1bcd60f3.tar.gz
lombok-e69d0b143e9ebc909cc607402c1e93fd1bcd60f3.tar.bz2
lombok-e69d0b143e9ebc909cc607402c1e93fd1bcd60f3.zip
[testing] fix vm-finder on macs.
Diffstat (limited to 'buildScripts/vm-finder.ant.xml')
-rw-r--r--buildScripts/vm-finder.ant.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildScripts/vm-finder.ant.xml b/buildScripts/vm-finder.ant.xml
index a15d8ed0..2a33b2b8 100644
--- a/buildScripts/vm-finder.ant.xml
+++ b/buildScripts/vm-finder.ant.xml
@@ -60,7 +60,8 @@ and rerun the build; this build is capable of finding VMs automatically on many
<fail unless="find-vm.version">Set property find-vm.version first</fail>
<local name="java_home.answer" />
<local name="java_home.result" />
- <exec executable="${exe.java_home}" errorproperty="discard" outputproperty="java_home.answer" failifexecutionfails="false" resultproperty="java_home.result">
+ <exec newenvironment="true" executable="${exe.java_home}" errorproperty="discard" outputproperty="java_home.answer" failifexecutionfails="false" resultproperty="java_home.result">
+ <env key="floobargle" value="FOO" /> <!-- we do not want JAVA_HOME to be set. This requires newenvironment="true" AND some sort of env value -->
<arg value="-v" />
<arg value="${find-vm.version}" />
</exec>