Browse Source

Correct pointer to Antidote, submitted by Larry Shatzer

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275222 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 21 years ago
parent
commit
b8fe8d10ba
2 changed files with 12 additions and 4 deletions
  1. +1
    -1
      src/antidote/WHAT-IS-THIS-P
  2. +11
    -3
      src/etc/testcases/taskdefs/optional/dotnet.xml

+ 1
- 1
src/antidote/WHAT-IS-THIS-P View File

@@ -1,5 +1,5 @@
This /used/ to be the home of Antidote, the GUI for Ant. It has moved This /used/ to be the home of Antidote, the GUI for Ant. It has moved
(or rather, graduate) to the cvs module jakarta-ant-antidote, and must
(or rather, graduate) to the cvs module ant-antidote, and must
be retrieved separately from Ant, but can be found in the same place you found be retrieved separately from Ant, but can be found in the same place you found
source version of Ant. source version of Ant.




+ 11
- 3
src/etc/testcases/taskdefs/optional/dotnet.xml View File

@@ -71,6 +71,14 @@
</or> </or>
</condition> </condition>
<echo> dotnetapps.found=${dotnetapps.found}</echo> <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>
</condition>
<property name="mono.executable" value="mint"/>
</target> </target>
<target name="validate" depends="probe_for_apps"> <target name="validate" depends="probe_for_apps">
@@ -115,7 +123,7 @@
</csc> </csc>
<available property="app.created" file="${testCSC.exe}"/> <available property="app.created" file="${testCSC.exe}"/>
<fail unless="app.created">No app ${testCSC.exe} created</fail> <fail unless="app.created">No app ${testCSC.exe} created</fail>
<exec executable="mono" failonerror="true">
<exec executable="${mono.executable}" failonerror="true">
<arg value="${testCSC.exe}"/> <arg value="${testCSC.exe}"/>
</exec> </exec>
<delete file="${testCSC.exe}"/> <delete file="${testCSC.exe}"/>
@@ -153,7 +161,7 @@
</csc> </csc>
<available property="app.created" file="${testCSC.exe}"/> <available property="app.created" file="${testCSC.exe}"/>
<fail unless="app.created">No app ${testCSC.exe} created</fail> <fail unless="app.created">No app ${testCSC.exe} created</fail>
<exec executable="mono" failonerror="true">
<exec executable="${mono.execuatble}" failonerror="true">
<arg value="${testCSC.exe}"/> <arg value="${testCSC.exe}"/>
</exec> </exec>
<delete file="${testCSC.exe}"/> <delete file="${testCSC.exe}"/>
@@ -232,7 +240,7 @@
</csc> </csc>
<available property="refapp.created" file="${testCscReferences.exe}"/> <available property="refapp.created" file="${testCscReferences.exe}"/>
<fail unless="refapp.created">No app ${testCscReferences.exe} created</fail> <fail unless="refapp.created">No app ${testCscReferences.exe} created</fail>
<exec executable="mono" failonerror="true">
<exec executable="${mono.executable}" failonerror="true">
<arg value="${testCscReferences.exe}"/> <arg value="${testCscReferences.exe}"/>
</exec> </exec>
</target> </target>


Loading…
Cancel
Save