Browse Source

Mono 0.28 on MacOS X comes with a JIT but fails miserably, disable it

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275420 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 21 years ago
parent
commit
8df483ff2c
1 changed files with 9 additions and 4 deletions
  1. +9
    -4
      src/etc/testcases/taskdefs/optional/dotnet.xml

+ 9
- 4
src/etc/testcases/taskdefs/optional/dotnet.xml View File

@@ -90,10 +90,15 @@
<echo> dotnetapps.found=${dotnetapps.found}</echo> <echo> dotnetapps.found=${dotnetapps.found}</echo>


<condition property="mono.executable" value="mono"> <condition property="mono.executable" value="mono">
<or>
<available file="mono" filepath="${env.PATH}" />
<available file="mono.exe" filepath="${env.PATH}" />
</or>
<and>
<not>
<os family="mac"/>
</not>
<or>
<available file="mono" filepath="${env.PATH}" />
<available file="mono.exe" filepath="${env.PATH}" />
</or>
</and>
</condition> </condition>
<property name="mono.executable" value="mint"/> <property name="mono.executable" value="mint"/>
</target> </target>


Loading…
Cancel
Save