| 1 | <?xml version="1.0" encoding="utf-8"?>
|
|---|
| 2 | <project name="RoadSigns" default="dist" basedir=".">
|
|---|
| 3 | <!-- enter the SVN commit message -->
|
|---|
| 4 | <property name="commit.message" value=""/>
|
|---|
| 5 | <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
|
|---|
| 6 | <property name="plugin.main.version" value="13007"/>
|
|---|
| 7 |
|
|---|
| 8 | <!--
|
|---|
| 9 | **********************************************************
|
|---|
| 10 | ** include targets that all plugins have in common
|
|---|
| 11 | **********************************************************
|
|---|
| 12 | -->
|
|---|
| 13 | <import file="../build-common.xml"/>
|
|---|
| 14 |
|
|---|
| 15 | <!--
|
|---|
| 16 | **********************************************************
|
|---|
| 17 | ** dist - creates the plugin jar
|
|---|
| 18 | **********************************************************
|
|---|
| 19 | -->
|
|---|
| 20 | <target name="dist" depends="compile,revision">
|
|---|
| 21 | <echo message="creating ${ant.project.name}.jar ... "/>
|
|---|
| 22 | <copy todir="${plugin.build.dir}/images">
|
|---|
| 23 | <fileset dir="images"/>
|
|---|
| 24 | </copy>
|
|---|
| 25 | <copy todir="${plugin.build.dir}/data">
|
|---|
| 26 | <fileset dir="data"/>
|
|---|
| 27 | </copy>
|
|---|
| 28 | <copy todir="${plugin.build.dir}">
|
|---|
| 29 | <fileset dir=".">
|
|---|
| 30 | <include name="README"/>
|
|---|
| 31 | <include name="LICENSE"/>
|
|---|
| 32 | </fileset>
|
|---|
| 33 | </copy>
|
|---|
| 34 | <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifestencoding="UTF-8">
|
|---|
| 35 | <!--
|
|---|
| 36 | ************************************************
|
|---|
| 37 | ** configure these properties. Most of them will be copied to the plugins
|
|---|
| 38 | ** manifest file. Property values will also show up in the list available
|
|---|
| 39 | ** plugins: https://josm.openstreetmap.de/wiki/Plugins.
|
|---|
| 40 | **
|
|---|
| 41 | ************************************************
|
|---|
| 42 | -->
|
|---|
| 43 | <manifest>
|
|---|
| 44 | <attribute name="Author" value="Paul Hartmann"/>
|
|---|
| 45 | <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.roadsigns.RoadSignsPlugin"/>
|
|---|
| 46 | <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
|
|---|
| 47 | <attribute name="Plugin-Description" value="Plugin for tagging of objects based on a selection of road signs. The dialog can be opened by clicking a small icon in the upper right corner of the properties window. Available country presets: Belgium, Germany, Poland, Slovakia, Spain."/>
|
|---|
| 48 | <attribute name="Plugin-Icon" value="images/pref/roadsigns.png"/>
|
|---|
| 49 | <attribute name="Plugin-Link" value="https://wiki.openstreetmap.org/wiki/JOSM/Plugins/RoadSigns"/>
|
|---|
| 50 | <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
|
|---|
| 51 | <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
|
|---|
| 52 | <attribute name="Plugin-Canloadatruntime" value="true"/>
|
|---|
| 53 | </manifest>
|
|---|
| 54 | </jar>
|
|---|
| 55 | </target>
|
|---|
| 56 | </project>
|
|---|