Changeset 13479


Ignore:
Timestamp:
08/13/11 05:36:29 (10 years ago)
Author:
Mark Evenson
Message:

Backport r13439: Fix #131: Don't include ':' in the version string.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.26.x/abcl/build.xml

    r13476 r13479  
    297297      <exec
    298298          executable="svnversion.exe"
    299           outputproperty="abcl.version.svn"
     299          outputproperty="abcl.version.svn.raw"
    300300          failifexecutionfails="false"
    301301          searchpath="true" />
     
    305305      <exec
    306306          executable="svnversion"
    307           outputproperty="abcl.version.svn"
     307          outputproperty="abcl.version.svn.raw"
    308308          failifexecutionfails="false"
    309309          searchpath="true" />
     
    313313            depends="abcl.version.src.1"
    314314            if="abcl.version.svn.p">
     315
     316      <!-- Transform all occurances of ":" ==> "-" in the version string -->
     317      <tempfile property="version-tmp.path"/>
     318      <echo message="${abcl.version.svn.raw}"
     319            file="${version-tmp.path}"/>
     320      <replace file="${version-tmp.path}"
     321               token=":" value="-"/>
     322      <loadfile property="abcl.version.svn" srcFile="${version-tmp.path}"/>
     323      <delete file="${version-tmp.path}"/>
     324
    315325      <echo>abcl.version.svn: ${abcl.version.svn}</echo>
    316326      <property name="abcl.version.src"
Note: See TracChangeset for help on using the changeset viewer.