Changeset 8815 in osm for applications/editors


Ignore:
Timestamp:
2008-07-07T17:17:15+02:00 (16 years ago)
Author:
stoecker
Message:

use SVN version

File:
1 edited

Legend:

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

    r7287 r8815  
    3333      <fileset dir="images"/>
    3434    </copy>
     35    <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
     36      <env key="LANG" value="C"/>
     37      <arg value="info"/>
     38      <arg value="--xml"/>
     39      <arg value="."/>
     40    </exec>
     41    <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
     42    <delete file="REVISION"/>
    3543    <jar destfile="${plugin.jar}" basedir="build">
    3644      <manifest>
    3745        <attribute name="Plugin-Class" value="UtilsPlugin.UtilsPlugin"/>
    3846        <attribute name="Plugin-Description" value="Useful JOSM utilities"/>
    39         <attribute name="Plugin-Version" value="0.5"/>
     47        <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
     48        <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    4049        <attribute name="Author"
    4150                   value="(originally) Martijn van Oosterhout &gt;kleptog@svana.org&gt;"/>
Note: See TracChangeset for help on using the changeset viewer.