Kaydet (Commit) 695957e7 authored tarafından Jürgen Schmidt's avatar Jürgen Schmidt

allow build with Oracle Java 7 on macos

üst b635b4fa
......@@ -82,7 +82,21 @@
<os family="unix"/>
</and>
</condition>
<path id="macPath" location="${java.home}/../Classes/classes.jar"/>
<path id="mac.apple.java.path" location="${java.home}/../Classes/classes.jar"/>
<path id="mac.oracle.java.path" location="${java.home}/lib/rt.jar"/>
<condition property="mac.java.path" value="mac.oracle.java.path" else ="mac.apple.java.path">
<and>
<os family="mac"/>
<os family="unix"/>
<contains string="${java.version}" substring="1.7" casesensitive="false" />
<contains string="${java.vendor}" substring="Oracle" casesensitive="false" />
</and>
</condition>
<path id="macPath" refID="${mac.java.path}"/>
<!-- rhino.jar from OpenJDK breaks build -->
<path id="nonMacPath">
<fileset dir="${java.home}/">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment