|
@@ -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> |
|
|