Ignore:
Timestamp:
2012-03-04T08:30:32+01:00 (13 years ago)
Author:
jttt
Message:

Save output of svn info to property instead of file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/build-common.xml

    r27960 r27983  
    5050    -->
    5151    <target name="revision">
    52         <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
     52        <exec append="false" outputproperty="svn.revision.output" executable="svn" failifexecutionfails="false">
    5353            <env key="LANG" value="C"/>
    5454            <arg value="info"/>
     
    5656            <arg value="."/>
    5757        </exec>
    58         <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
    59         <delete file="REVISION"/>
     58        <xmlproperty prefix="version" keepRoot="false" collapseAttributes="true">
     59          <propertyresource name="svn.revision.output"/>
     60        </xmlproperty>
    6061    </target>
    6162    <!--
Note: See TracChangeset for help on using the changeset viewer.