[26174] | 1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
[25606] | 2 | <project name="turnlanes" default="dist" basedir=".">
|
---|
[28807] | 3 |
|
---|
[26174] | 4 | <!-- enter the SVN commit message -->
|
---|
[27927] | 5 | <property name="commit.message" value="fix toolbar warnings - toolbar still does not work"/>
|
---|
[26174] | 6 | <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
|
---|
[35978] | 7 | <property name="plugin.main.version" value="18494"/>
|
---|
[28807] | 8 |
|
---|
[26174] | 9 | <!--
|
---|
[25606] | 10 | **********************************************************
|
---|
[28807] | 11 | ** include targets that all plugins have in common
|
---|
[25606] | 12 | **********************************************************
|
---|
| 13 | -->
|
---|
[28807] | 14 | <import file="../build-common.xml"/>
|
---|
| 15 |
|
---|
[26174] | 16 | <!--
|
---|
[25606] | 17 | **********************************************************
|
---|
| 18 | ** dist - creates the plugin jar
|
---|
| 19 | **********************************************************
|
---|
| 20 | -->
|
---|
[26174] | 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">
|
---|
[28807] | 39 | <!--
|
---|
[25606] | 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.
|
---|
[25606] | 44 | **
|
---|
| 45 | ************************************************
|
---|
[28807] | 46 | -->
|
---|
[26174] | 47 | <manifest>
|
---|
| 48 | <attribute name="Author" value="Benjamin Schulz"/>
|
---|
| 49 | <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.turnlanes.TurnLanesPlugin"/>
|
---|
[26175] | 50 | <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
|
---|
[26174] | 51 | <attribute name="Plugin-Description" value="Provides a straightforward GUI for adding, editing and deleting turn lanes."/>
|
---|
[27352] | 52 | <attribute name="Plugin-Icon" value="images/dialogs/turnlanes.png" />
|
---|
[31923] | 53 | <attribute name="Plugin-Link" value="https://wiki.openstreetmap.org/wiki/Relations/Proposed/turn_lanes#Plugin" />
|
---|
[26174] | 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>
|
---|
[25606] | 59 | </project>
|
---|