Ignore:
Timestamp:
2008-12-25T14:25:37+01:00 (17 years ago)
Author:
stoecker
Message:

updated

File:
1 edited

Legend:

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

    r7287 r12575  
    2525    <echo message="creating ${plugin.jar}"/>
    2626    <javac srcdir="src" classpath="${josm}" destdir="build" debug="true">
     27      <compilerarg value="-Xlint:deprecation"/>
    2728      <include name="**/*.java" />
    2829    </javac>
     
    3031
    3132  <target name="dist" depends="compile">
    32     <!--
    33         <copy todir="build/images">
    34           <fileset dir="images"></fileset>
    35         </copy>
    36         -->
    37     <jar destfile="dist/waypoints.jar" basedir="build">
     33    <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
     34      <env key="LANG" value="C"/>
     35      <arg value="info"/>
     36      <arg value="--xml"/>
     37      <arg value="."/>
     38    </exec>
     39    <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
     40    <delete file="REVISION"/>
     41    <jar destfile="${plugin.jar}" basedir="build">
    3842      <manifest>
    3943        <attribute name="Plugin-Class" value="waypoints.WaypointPlugin" />
    4044        <attribute name="Plugin-Description" value="Automatic conversion of waypoints in a GPX file to OSM nodes." />
     45        <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
     46        <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
     47        <attribute name="Plugin-Mainversion" value="1153" />
    4148      </manifest>
    4249    </jar>
Note: See TracChangeset for help on using the changeset viewer.