1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 | <project name="turnlanes" default="dist" basedir=".">
|
---|
3 |
|
---|
4 | <!-- enter the SVN commit message -->
|
---|
5 | <property name="commit.message" value="fix toolbar warnings - toolbar still does not work"/>
|
---|
6 | <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
|
---|
7 | <property name="plugin.main.version" value="13922"/>
|
---|
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="Benjamin Schulz"/>
|
---|
49 | <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.turnlanes.TurnLanesPlugin"/>
|
---|
50 | <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
|
---|
51 | <attribute name="Plugin-Description" value="Provides a straightforward GUI for adding, editing and deleting turn lanes."/>
|
---|
52 | <attribute name="Plugin-Icon" value="images/dialogs/turnlanes.png" />
|
---|
53 | <attribute name="Plugin-Link" value="https://wiki.openstreetmap.org/wiki/Relations/Proposed/turn_lanes#Plugin" />
|
---|
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>
|
---|