source: osm/applications/editors/josm/plugins/multipoly-convert/build.xml@ 26577

Last change on this file since 26577 was 26577, checked in by sbrunner, 13 years ago

a typo

File size: 2.3 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3** This is the build file for the multipoly-convert 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="multipoly-convert" 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 -->
34 <property name="plugin.main.version" value="3835"/>
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="converttomultipoly.MultipolyPlugin"/>
56 <attribute name="Plugin-Description" value="Simply convert an area to a multipolygon."/>
57 <attribute name="Plugin-Icon" value="images/multipoly_convert.png"/>
58 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
59 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
60 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
61 </manifest>
62 </jar>
63 </target>
64</project>
Note: See TracBrowser for help on using the repository browser.