Ignore:
Timestamp:
2008-07-03T18:21:00+02:00 (16 years ago)
Author:
stoecker
Message:

switched to SVN revsion, makes hand-updating obsolete

File:
1 edited

Legend:

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

    r7287 r8696  
    1919
    2020  <property name="ant.build.javac.target" value="1.5"/>
    21  
    2221
    2322  <target name="dist" depends="compile">
     
    2625      <fileset dir="images" />
    2726    </copy>
    28    
     27    <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
     28      <env key="LANG" value="C"/>
     29      <arg value="info"/>
     30      <arg value="--xml"/>
     31      <arg value="."/>
     32    </exec>
     33    <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
     34    <delete file="REVISION"/>
     35
    2936    <jar destfile="${plugin.jar}" basedir="build">
    3037        <manifest>
    31                         <attribute name="Plugin-Class" value="SlippyMapChooserPlugin" />
     38          <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.validator.SlippyMapChooserPlugin" />
    3239                        <attribute name="Plugin-Description" value="Adds a new download dialog that allows to select the download rectangle on the slippy map. With this plugin it's possible to download ways and gpx logs without knowing the coordinates of the desired download rectangle - just navigate to the desired area by zooming and moving the slippy map, mark the area with a rectangle and click download. Works great together with the namefinder plugin!" />
    3340                        <attribute name="Plugin-Author" value="slippy_map_chooser@freakmail.de" />
    34                         <attribute name="Plugin-Version" value="1.1" />
     41                        <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
     42                        <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    3543                </manifest>
    3644    </jar>
     
    3947  <target name="compile" depends="init">
    4048    <echo message="creating ${plugin.jar}"/>
    41     <javac srcdir="src" classpath="../../core/dist/josm-custom.jar" destdir="build" />
     49    <javac srcdir="src" classpath="${josm}" destdir="build" />
    4250  </target>
    4351 
Note: See TracChangeset for help on using the changeset viewer.