source: osm/applications/editors/josm/plugins/mirrored_download/build.xml@ 29435

Last change on this file since 29435 was 29435, checked in by stoecker, 12 years ago

i18n update

  • Property svn:mime-type set to text/xml
File size: 3.1 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3** This is the build file for the mirrored_download 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 your default plugin directory) run
16**
17** > ant install
18**
19** To build against the core in ../../core, create a correct manifest and deploy to
20** SVN,
21** set the properties commit.message and plugin.main.version
22** and run
23** > ant publish
24**
25**
26-->
27<project name="mirrored_download" default="dist" basedir=".">
28
29 <!-- enter the SVN commit message -->
30 <property name="commit.message" value=""/>
31 <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
32 <property name="plugin.main.version" value="5097"/>
33
34 <!--
35 **********************************************************
36 ** include targets that all plugins have in common
37 **********************************************************
38 -->
39 <import file="../build-common.xml"/>
40
41 <!--
42 **********************************************************
43 ** dist - creates the plugin jar
44 **********************************************************
45 -->
46 <target name="dist" depends="compile,revision">
47 <echo message="creating ${ant.project.name}.jar ... "/>
48 <copy todir="${plugin.build.dir}/resources">
49 <fileset dir="resources"/>
50 </copy>
51 <copy todir="${plugin.build.dir}/images">
52 <fileset dir="images"/>
53 </copy>
54 <copy todir="${plugin.build.dir}/data">
55 <fileset dir="data"/>
56 </copy>
57 <copy todir="${plugin.build.dir}">
58 <fileset dir=".">
59 <include name="README"/>
60 <include name="LICENSE"/>
61 </fileset>
62 </copy>
63 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
64 <!--
65 ************************************************
66 ** configure these properties. Most of them will be copied to the plugins
67 ** manifest file. Property values will also show up in the list available
68 ** plugins: http://josm.openstreetmap.de/wiki/Plugins.
69 **
70 ************************************************
71 -->
72 <manifest>
73 <attribute name="Author" value="Roland M. Olbricht"/>
74 <attribute name="Plugin-Class" value="mirrored_download.MirroredDownloadPlugin"/>
75 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
76 <attribute name="Plugin-Description" value="Simplifies download from different read-only APIs."/>
77 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/mirrored_download"/>
78 <attribute name="Plugin-Icon" value="images/download_mirror.png"/>
79 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
80 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
81 </manifest>
82 </jar>
83 </target>
84</project>
Note: See TracBrowser for help on using the repository browser.