source: osm/applications/editors/josm/plugins/mapdust/build.xml@ 34528

Last change on this file since 34528 was 34528, checked in by donvip, 6 years ago

update to JOSM 14153

  • Property svn:mime-type set to text/xml
File size: 2.5 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<project name="mapdust" default="dist" basedir=".">
3 <!-- properties -->
4 <property name="commit.message" value="MapDust bug reporter plugin"/>
5 <property name="plugin.main.version" value="14153"/>
6 <property name="apidoc.dir" value="doc"/>
7
8 <!--
9 **********************************************************
10 ** include targets that all plugins have in common
11 **********************************************************
12 -->
13 <import file="../build-common.xml"/>
14
15 <fileset id="plugin.requires.jars" dir="${plugin.dist.dir}">
16 <include name="gson.jar"/>
17 </fileset>
18
19 <target name="clean">
20 <delete dir="${plugin.build.dir}"/>
21 <delete dir="${apidoc.dir}"/>
22 <delete file="${plugin.jar}"/>
23 </target>
24
25 <!-- creates the .jar file of the plugin -->
26 <target name="dist" depends="compile,revision">
27 <echo message="creating ${ant.project.name}.jar ... "/>
28 <copy todir="${plugin.build.dir}">
29 <fileset dir="conf"/>
30 </copy>
31 <copy todir="${plugin.build.dir}/images">
32 <fileset dir="images"/>
33 </copy>
34 <copy todir="${plugin.build.dir}/data">
35 <fileset dir="data"/>
36 </copy>
37 <copy todir="${plugin.build.dir}">
38 <fileset dir=".">
39 <include name="README"/>
40 <include name="LICENSE"/>
41 </fileset>
42 </copy>
43 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifestencoding="UTF-8">
44 <manifest>
45 <attribute name="Author" value="Beata Jancso"/>
46 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.mapdust.MapdustPlugin"/>
47 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
48 <attribute name="Plugin-Description" value="The MapDust Plug-In shows the MapDust bug reports on the map. You can create, close,invalidate, re-open and comment bug reports by using this plugin."/>
49 <attribute name="Plugin-Link" value="https://wiki.openstreetmap.org/wiki/JOSM/Plugins/MapDust"/>
50 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
51 <attribute name="Plugin-Requires" value="gson"/>
52 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
53 <attribute name="Plugin-Icon" value="images/dialogs/mapdust_icon25.png"/>
54 </manifest>
55 </jar>
56 </target>
57</project>
Note: See TracBrowser for help on using the repository browser.