[armedbear-cvs] r13279 - trunk/abcl

mevenson at common-lisp.net mevenson at common-lisp.net
Sat Jun 4 20:25:13 UTC 2011


Author: mevenson
Date: Fri May 20 05:48:16 2011
New Revision: 13279

Log:
Fix part of uptodate check for abcl.jar based on Version.java.

Modified:
   trunk/abcl/build.xml

Modified: trunk/abcl/build.xml
==============================================================================
--- trunk/abcl/build.xml	Tue May 17 05:45:44 2011	(r13278)
+++ trunk/abcl/build.xml	Fri May 20 05:48:16 2011	(r13279)
@@ -330,15 +330,23 @@
       <delete file="${abcl.version.path}"/>
     </target>
 
+    <target name="abcl.stamp.version.uptodate">
+      <uptodate property="abcl.stamp.version.uptodate.p" 
+                targetfile="${abcl.version.path}"
+                srcfile="${build.classes.dir}/org/armedbear/lisp/Version.class"/>
+    </target>
+
     <target name="abcl.stamp.version" 
-            depends="abcl.clean.version,abcl.version.src,abcl.stamp.version.1,abcl.stamp.version.2">
+            depends="abcl.version.src,abcl.stamp.version.1,abcl.stamp.version.2"
+            unless="abcl.stamp.version.uptodate.p">
       <mkdir dir="${abcl.version.path}/.."/>
       <echo>ABCL implementation version: ${abcl.implementation.version}</echo>
       <echo file="${abcl.version.path}">${abcl.implementation.version}</echo>
     </target>
     
-    <target name="abcl.stamp.version.0" 
-            depends="abcl.compile.java">
+    <target name="abcl.stamp.version.generate" 
+            depends="abcl.compile.java"
+            unless="abcl.stamp.version.uptodate.p">
       <java fork="true"
 	    classpath="${build.classes.dir}"
 	    outputproperty="abcl.version"
@@ -346,6 +354,9 @@
             logerror="yes"/> <!-- Don't catch stderr output -->
     </target>
 
+    <target name="abcl.stamp.version.0" 
+            depends="abcl.stamp.version.uptodate,abcl.stamp.version.generate"/>
+
     <target name="abcl.stamp.version.1"
             depends="abcl.stamp.version.0"
             unless="abcl.version.svn.p">
@@ -382,7 +393,7 @@
       <touch file="${src.dir}/org/armedbear/lisp/compile-system.lisp"/>
     </target>
 
-    <target name="abcl.jar.uptodate" depends="abcl.compile">
+    <target name="abcl.jar.uptodate" depends="abcl.compile,abcl.stamp">
       <uptodate property="abcl.jar.uptodate.p" targetfile="${abcl.jar.path}">
         <srcfiles dir="${build.classes.dir}">
           <patternset refid="abcl.objects"/>
@@ -390,11 +401,11 @@
       </uptodate>
     </target>
 
-    <target name="abcl.jar" depends="abcl.stamp,abcl.jar.uptodate"
+    <target name="abcl.jar" depends="abcl.jar.uptodate"
 	    unless="abcl.jar.uptodate.p">
       <mkdir dir="${dist.dir}"/>
       <loadfile property="abcl.version"
-		  srcFile="${abcl.version.path}"/>
+                srcFile="${abcl.version.path}"/>
       <jar destfile="${abcl.jar.path}"
 	   compress="true"
 	   basedir="${build.classes.dir}">




More information about the armedbear-cvs mailing list