Changeset 13199


Ignore:
Timestamp:
01/31/11 07:25:12 (11 years ago)
Author:
Mark Evenson
Message:

Fix ad infinitum appending of 'svnversion' results in incremental builds.

The 'version' file is now removed during each invocation of
'abcl.stamp.version' which adds a bit of time to each build, but at
least implement the correct semantics (i.e. always produce an accurate
svnversion result). An optimization might be to conditionally compare
the contents of 'version' with the results of running a fresh
'svnversion', but to do this with Ant's tiny little insect brain
requires more effort than this mammal deems wise to exert.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/build.xml

    r13198 r13199  
    299299    </target>
    300300
    301 
    302 
    303301    <target name="abcl.version.src.1" depends="abcl.version.src.0">
    304302      <exec
     
    329327        value="${build.classes.dir}/org/armedbear/lisp/version"/>
    330328
     329    <target name="abcl.clean.version">
     330      <delete file="${abcl.version.path}"/>
     331    </target>
     332
    331333    <target name="abcl.stamp.version"
    332             depends="abcl.version.src,abcl.stamp.version.1,abcl.stamp.version.2">
     334            depends="abcl.clean.version,abcl.version.src,abcl.stamp.version.1,abcl.stamp.version.2">
    333335      <mkdir dir="${abcl.version.path}/.."/>
    334336      <echo>ABCL implementation version: ${abcl.implementation.version}</echo>
Note: See TracChangeset for help on using the changeset viewer.