bodewig 2003/10/06 07:24:49
Modified: src/etc/testcases/taskdefs/optional dotnet.xml
Log:
Mono 0.28 on MacOS X comes with a JIT but fails miserably, disable it
Revision Changes Path
1.15 +9 -4 ant/src/etc/testcases/taskdefs/optional/dotnet.xml
Index: dotnet.xml
===================================================================
RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/optional/dotnet.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- dotnet.xml 23 Sep 2003 07:23:01 -0000 1.14
+++ dotnet.xml 6 Oct 2003 14:24:49 -0000 1.15
@@ -90,10 +90,15 @@
<echo> dotnetapps.found=${dotnetapps.found}</echo>
<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>
<property name="mono.executable" value="mint"/>
</target>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]