[28741] | 1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
| 2 | <project name="gpsblam" default="dist" basedir=".">
|
---|
[28807] | 3 |
|
---|
[28741] | 4 | <!-- enter the SVN commit message -->
|
---|
| 5 | <property name="commit.message" value="Commit message"/>
|
---|
| 6 | <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
|
---|
[32487] | 7 | <property name="plugin.main.version" value="10353"/>
|
---|
[28807] | 8 |
|
---|
[28741] | 9 | <!--
|
---|
| 10 | **********************************************************
|
---|
[28807] | 11 | ** include targets that all plugins have in common
|
---|
[28741] | 12 | **********************************************************
|
---|
| 13 | -->
|
---|
[28807] | 14 | <import file="../build-common.xml"/>
|
---|
| 15 |
|
---|
[28741] | 16 | <!--
|
---|
| 17 | **********************************************************
|
---|
| 18 | ** dist - creates the plugin jar
|
---|
| 19 | **********************************************************
|
---|
| 20 | -->
|
---|
| 21 | <target name="dist" depends="compile,revision">
|
---|
| 22 | <echo message="creating ${ant.project.name}.jar ... "/>
|
---|
| 23 | <copy todir="${plugin.build.dir}/resources">
|
---|
| 24 | <fileset dir="resources"/>
|
---|
| 25 | </copy>
|
---|
| 26 | <copy todir="${plugin.build.dir}/images">
|
---|
| 27 | <fileset dir="images"/>
|
---|
| 28 | </copy>
|
---|
| 29 | <copy todir="${plugin.build.dir}/data">
|
---|
| 30 | <fileset dir="data"/>
|
---|
| 31 | </copy>
|
---|
| 32 | <copy todir="${plugin.build.dir}">
|
---|
| 33 | <fileset dir=".">
|
---|
| 34 | <include name="README"/>
|
---|
| 35 | <include name="LICENSE"/>
|
---|
| 36 | </fileset>
|
---|
| 37 | </copy>
|
---|
[31768] | 38 | <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifestencoding="UTF-8">
|
---|
[28741] | 39 | <!--
|
---|
| 40 | ************************************************
|
---|
| 41 | ** configure these properties. Most of them will be copied to the plugins
|
---|
| 42 | ** manifest file. Property values will also show up in the list available
|
---|
[31926] | 43 | ** plugins: https://josm.openstreetmap.de/wiki/Plugins.
|
---|
[28741] | 44 | **
|
---|
| 45 | ************************************************
|
---|
| 46 | -->
|
---|
| 47 | <manifest>
|
---|
| 48 | <attribute name="Author" value="Russell Edwards"/>
|
---|
| 49 | <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.gpsblam.GPSBlamPlugin"/>
|
---|
| 50 | <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
|
---|
| 51 | <attribute name="Plugin-Description" value="Analyse a set of GPS points to obtain its centre and direction of spread."/>
|
---|
| 52 | <attribute name="Plugin-Icon" value="images/mapmode/gpsblam_mode.png"/>
|
---|
[31923] | 53 | <attribute name="Plugin-Link" value="https://wiki.openstreetmap.org/wiki/JOSM/Plugins/GPSBlam"/>
|
---|
[28741] | 54 | <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
|
---|
| 55 | <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
|
---|
| 56 | </manifest>
|
---|
| 57 | </jar>
|
---|
| 58 | </target>
|
---|
| 59 | </project>
|
---|