[armedbear-cvs] r13198 - trunk/abcl

Erik Huelsmann ehuelsmann at common-lisp.net
Sun Jan 30 23:35:36 UTC 2011


Author: ehuelsmann
Date: Sun Jan 30 18:35:36 2011
New Revision: 13198

Log:
Update r13197 for Windows.

Modified:
   trunk/abcl/build.xml

Modified: trunk/abcl/build.xml
==============================================================================
--- trunk/abcl/build.xml	(original)
+++ trunk/abcl/build.xml	Sun Jan 30 18:35:36 2011
@@ -271,19 +271,41 @@
         <available
             file="${basedir}/.svn"
             type="dir"/>
-        <available
-            file="svnversion"
-            filepath="${env.PATH}"/>
+        <or>
+            <available
+                file="svnversion.exe"
+                filepath="${env.Path}"/>
+            <available
+                file="svnversion.exe"
+                filepath="${env.PATH}"/>
+             <available
+                file="svnversion"
+                filepath="${env.Path}"/>
+            <available
+                file="svnversion"
+                filepath="${env.PATH}"/>
+        </or>
       </and>
     </condition>
 
     <target name="abcl.version.src" depends="abcl.version.src.3"/>
 
-    <target name="abcl.version.src.1">
+    <target name="abcl.version.src.0" if="windows">
+      <exec
+          executable="svnversion.exe"
+          outputproperty="abcl.version.svn"
+          failifexecutionfails="false"
+          searchpath="true" />
+    </target>
+
+
+
+    <target name="abcl.version.src.1" depends="abcl.version.src.0">
       <exec 
           executable="svnversion"
           outputproperty="abcl.version.svn"
-          failifexecutionfails="false" />
+          failifexecutionfails="false"
+          searchpath="true" />
     </target>
 
     <target name="abcl.version.src.2" 




More information about the armedbear-cvs mailing list