[26575] | 1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
| 2 | <!--
|
---|
| 3 | ** This is the build file for the merge-overlap plugin.
|
---|
| 4 | **
|
---|
| 5 | ** Maintaining versions
|
---|
| 6 | ** ====================
|
---|
| 7 | ** see README.template
|
---|
| 8 | **
|
---|
| 9 | ** Usage
|
---|
| 10 | ** =====
|
---|
| 11 | ** To build it run
|
---|
| 12 | **
|
---|
| 13 | ** > ant dist
|
---|
| 14 | **
|
---|
| 15 | ** To install the generated plugin locally (in you default plugin directory) run
|
---|
| 16 | **
|
---|
| 17 | ** > ant install
|
---|
| 18 | **
|
---|
| 19 | ** The generated plugin jar is not automatically available in JOSMs plugin configuration
|
---|
| 20 | ** dialog. You have to check it in first.
|
---|
| 21 | **
|
---|
| 22 | ** Use the ant target 'publish' to check in the plugin and make it available to other
|
---|
| 23 | ** JOSM users:
|
---|
| 24 | ** set the properties commit.message and plugin.main.version
|
---|
| 25 | ** and run
|
---|
| 26 | ** > ant publish
|
---|
| 27 | **
|
---|
| 28 | **
|
---|
| 29 | -->
|
---|
| 30 | <project name="merge-overlap" default="dist" basedir=".">
|
---|
| 31 | <!-- enter the SVN commit message -->
|
---|
| 32 | <property name="commit.message" value="preset maintenance (${ant.project.name})"/>
|
---|
| 33 | <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
|
---|
[26605] | 34 | <property name="plugin.main.version" value="4394"/>
|
---|
[26575] | 35 |
|
---|
| 36 | <import file="../build-common.xml"/>
|
---|
| 37 |
|
---|
| 38 | <target name="dist" depends="compile,revision">
|
---|
| 39 | <echo message="creating ${ant.project.name}.jar ... "/>
|
---|
| 40 | <copy todir="${plugin.build.dir}/images">
|
---|
| 41 | <fileset dir="images"/>
|
---|
| 42 | </copy>
|
---|
| 43 | <copy todir="${plugin.build.dir}/data">
|
---|
| 44 | <fileset dir="data"/>
|
---|
| 45 | </copy>
|
---|
| 46 | <copy todir="${plugin.build.dir}">
|
---|
| 47 | <fileset dir=".">
|
---|
| 48 | <include name="README"/>
|
---|
| 49 | <include name="LICENSE"/>
|
---|
| 50 | </fileset>
|
---|
| 51 | </copy>
|
---|
| 52 | <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
|
---|
| 53 | <manifest>
|
---|
| 54 | <attribute name="Author" value="Stéphane Brunner"/>
|
---|
| 55 | <attribute name="Plugin-Class" value="mergeoverlap.MergeOverlapPlugin"/>
|
---|
| 56 | <attribute name="Plugin-Description" value="Merge overlapping part of ways."/>
|
---|
| 57 | <attribute name="Plugin-Icon" value="images/merge_overlap.png"/>
|
---|
| 58 | <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
|
---|
| 59 | <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
|
---|
| 60 | </manifest>
|
---|
| 61 | </jar>
|
---|
| 62 | </target>
|
---|
| 63 | </project>
|
---|