Changeset 13439


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/build.xml

    r13428 r13439  
    298298      <exec
    299299          executable="svnversion.exe"
    300           outputproperty="abcl.version.svn"
     300          outputproperty="abcl.version.svn.raw"
    301301          failifexecutionfails="false"
    302302          searchpath="true" />
     
    306306      <exec
    307307          executable="svnversion"
    308           outputproperty="abcl.version.svn"
     308          outputproperty="abcl.version.svn.raw"
    309309          failifexecutionfails="false"
    310310          searchpath="true" />
     
    314314            depends="abcl.version.src.1"
    315315            if="abcl.version.svn.p">
     316
     317      <!-- Transform all occurances of ":" ==> "-" in the version string -->
     318      <tempfile property="version-tmp.path"/>
     319      <echo message="${abcl.version.svn.raw}"
     320            file="${version-tmp.path}"/>
     321      <replace file="${version-tmp.path}"
     322               token=":" value="-"/>
     323      <loadfile property="abcl.version.svn" srcFile="${version-tmp.path}"/>
     324      <delete file="${version-tmp.path}"/>
     325
    316326      <echo>abcl.version.svn: ${abcl.version.svn}</echo>
    317327      <property name="abcl.version.src"
Note: See TracChangeset for help on using the changeset viewer.