Ignore:
Timestamp:
2008-07-03T00:04:14+02:00 (16 years ago)
Author:
frederik
Message:

change version number policy

File:
1 edited

Legend:

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

    r7287 r8666  
    3636      <fileset dir="images" />
    3737    </copy>
     38    <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
     39      <env key="LANG" value="C"/>
     40      <arg value="info"/>
     41      <arg value="--xml"/>
     42      <arg value="."/>
     43    </exec>
     44    <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
     45    <delete file="REVISION"/>
     46
    3847    <jar destfile="${plugin.jar}" basedir="build">
    3948      <manifest>
    4049        <attribute name="Plugin-Class" value="wmsplugin.WMSPlugin" />
    41         <attribute name="Plugin-Version" value="3.0" />
     50    <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
     51    <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    4252        <attribute name="Plugin-Description" value="Allows external WMS resources to be displayed." />
    4353      </manifest>
Note: See TracChangeset for help on using the changeset viewer.