Changeset 7812 in osm


Ignore:
Timestamp:
2008-05-13T12:09:52+02:00 (17 years ago)
Author:
stoecker
Message:

copied svn version to plugin version checks from validator plugin

File:
1 edited

Legend:

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

    r6110 r7812  
    3737    <copy file="i18n.properties" todir="${language}/build/org/openstreetmap/josm" />
    3838
     39    <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
     40      <env key="LANG" value="C"/>
     41      <arg value="info"/>
     42      <arg value="--xml"/>
     43      <arg value="${language}/${language}.po"/>
     44    </exec>
     45    <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
     46    <delete file="REVISION"/>
    3947    <jar destfile="../../dist/lang-${language}.jar" basedir="${language}/build">
    4048      <manifest>
    4149        <attribute name="Plugin-Class" value="org.openstreetmap.josm.TranslationLoader_${language}" />
    4250        <attribute name="Plugin-Description" value="Translation to locale ${language}" />
     51        <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
     52        <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    4353        <attribute name="Plugin-Early" value="true" />
    4454      </manifest>
Note: See TracChangeset for help on using the changeset viewer.