ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/etc/testcases/taskdefs/optional dotnet.xml
Date Fri, 12 Sep 2003 11:25:31 GMT
bodewig     2003/09/12 04:25:31

  Modified:    src/antidote WHAT-IS-THIS-P
               src/etc/testcases/taskdefs/optional dotnet.xml
  Log:
  Correct pointer to Antidote, submitted by Larry Shatzer
  
  Revision  Changes    Path
  1.2       +1 -1      ant/src/antidote/WHAT-IS-THIS-P
  
  Index: WHAT-IS-THIS-P
  ===================================================================
  RCS file: /home/cvs/ant/src/antidote/WHAT-IS-THIS-P,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WHAT-IS-THIS-P	17 Apr 2001 00:31:46 -0000	1.1
  +++ WHAT-IS-THIS-P	12 Sep 2003 11:25:31 -0000	1.2
  @@ -1,5 +1,5 @@
   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
   source version of Ant.
   
  
  
  
  1.10      +11 -3     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.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- dotnet.xml	6 Sep 2003 07:09:59 -0000	1.9
  +++ dotnet.xml	12 Sep 2003 11:25:31 -0000	1.10
  @@ -71,6 +71,14 @@
         </or>
       </condition>
      <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 name="validate" depends="probe_for_apps">
  @@ -115,7 +123,7 @@
       </csc>
       <available property="app.created" file="${testCSC.exe}"/>
       <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}"/>
       </exec> 
       <delete file="${testCSC.exe}"/>
  @@ -153,7 +161,7 @@
       </csc>
       <available property="app.created" file="${testCSC.exe}"/>
       <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}"/>
       </exec> 
       <delete file="${testCSC.exe}"/>
  @@ -232,7 +240,7 @@
       </csc>
       <available property="refapp.created" file="${testCscReferences.exe}"/>
       <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}"/>
       </exec> 
     </target>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message