1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 | <!--
|
---|
3 | ** Maintaining versions
|
---|
4 | ** ====================
|
---|
5 | ** see README.template
|
---|
6 | **
|
---|
7 | ** Usage
|
---|
8 | ** =====
|
---|
9 | ** To build it run
|
---|
10 | **
|
---|
11 | ** > ant dist
|
---|
12 | **
|
---|
13 | ** To install the generated plugin locally (in you default plugin directory) run
|
---|
14 | **
|
---|
15 | ** > ant install
|
---|
16 | **
|
---|
17 | ** The generated plugin jar is not automatically available in JOSMs plugin configuration
|
---|
18 | ** dialog. You have to check it in first.
|
---|
19 | **
|
---|
20 | ** Use the ant target 'publish' to check in the plugin and make it available to other
|
---|
21 | ** JOSM users:
|
---|
22 | ** set the properties commit.message and plugin.main.version
|
---|
23 | ** and run
|
---|
24 | ** > ant publish
|
---|
25 | **
|
---|
26 | **
|
---|
27 | -->
|
---|
28 | <project name="RoadSigns" default="dist" basedir=".">
|
---|
29 | <!-- enter the SVN commit message -->
|
---|
30 | <property name="commit.message" value="preset maintenance (Fahrradstraße)"/>
|
---|
31 | <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
|
---|
32 | <property name="plugin.main.version" value="5698"/>
|
---|
33 |
|
---|
34 | <!--
|
---|
35 | **********************************************************
|
---|
36 | ** include targets that all plugins have in common
|
---|
37 | **********************************************************
|
---|
38 | -->
|
---|
39 | <import file="../build-common.xml"/>
|
---|
40 |
|
---|
41 | <!--
|
---|
42 | **********************************************************
|
---|
43 | ** dist - creates the plugin jar
|
---|
44 | **********************************************************
|
---|
45 | -->
|
---|
46 | <target name="dist" depends="compile,revision">
|
---|
47 | <echo message="creating ${ant.project.name}.jar ... "/>
|
---|
48 | <copy todir="${plugin.build.dir}/images">
|
---|
49 | <fileset dir="images"/>
|
---|
50 | </copy>
|
---|
51 | <copy todir="${plugin.build.dir}/data">
|
---|
52 | <fileset dir="data"/>
|
---|
53 | </copy>
|
---|
54 | <copy todir="${plugin.build.dir}">
|
---|
55 | <fileset dir=".">
|
---|
56 | <include name="README"/>
|
---|
57 | <include name="LICENSE"/>
|
---|
58 | </fileset>
|
---|
59 | </copy>
|
---|
60 | <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
|
---|
61 | <!--
|
---|
62 | ************************************************
|
---|
63 | ** configure these properties. Most of them will be copied to the plugins
|
---|
64 | ** manifest file. Property values will also show up in the list available
|
---|
65 | ** plugins: http://josm.openstreetmap.de/wiki/Plugins.
|
---|
66 | **
|
---|
67 | ************************************************
|
---|
68 | -->
|
---|
69 | <manifest>
|
---|
70 | <attribute name="Author" value="Paul Hartmann"/>
|
---|
71 | <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.roadsigns.RoadSignsPlugin"/>
|
---|
72 | <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
|
---|
73 | <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: Germany."/>
|
---|
74 | <attribute name="Plugin-Icon" value="images/pref/roadsigns.png"/>
|
---|
75 | <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/RoadSigns"/>
|
---|
76 | <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
|
---|
77 | <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
|
---|
78 | </manifest>
|
---|
79 | </jar>
|
---|
80 | </target>
|
---|
81 | </project>
|
---|