Build: look for JDK release file in parent dir.

This commit is contained in:
Martin Sidaway 2015-06-23 13:56:20 +01:00
parent 98eb1a9ee2
commit 8f89baf0b9
1 changed files with 3 additions and 1 deletions

View File

@ -905,7 +905,9 @@
<fileset dir="windows/work" includes="**/*.html, **/*.dll, **/*.exe" />
</chmod>
<loadproperties srcfile="${WINDOWS_BUNDLED_JVM}/release" prefix="windows"/>
<!-- For JVM within JDK, release file is in parent directory -->
<property file="${WINDOWS_BUNDLED_JVM}/release" prefix="windows"/>
<property file="${WINDOWS_BUNDLED_JVM}/../release" prefix="windows"/>
<fail message="It looks like ${WINDOWS_BUNDLED_JVM} does not contain a Windows JVM">
<condition>