1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 | <project name="gpsblam" default="dist" basedir=".">
|
---|
3 |
|
---|
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 -->
|
---|
7 | <property name="plugin.main.version" value="10353"/>
|
---|
8 |
|
---|
9 | <!--
|
---|
10 | **********************************************************
|
---|
11 | ** include targets that all plugins have in common
|
---|
12 | **********************************************************
|
---|
13 | -->
|
---|
14 | <import file="../build-common.xml"/>
|
---|
15 |
|
---|
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>
|
---|
38 | <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifestencoding="UTF-8">
|
---|
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
|
---|
43 | ** plugins: https://josm.openstreetmap.de/wiki/Plugins.
|
---|
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"/>
|
---|
53 | <attribute name="Plugin-Link" value="https://wiki.openstreetmap.org/wiki/JOSM/Plugins/GPSBlam"/>
|
---|
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>
|
---|