source: osm/applications/editors/josm/plugins/wms-turbo-challenge2/build.xml@ 28807

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

build script cleanups, i18n update

File size: 2.4 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3** To build it run
4**
5** > ant dist
6**
7** To install the generated plugin locally (in you default plugin directory) run
8**
9** > ant install
10-->
11<project name="wms-turbo-challenge2" default="dist" basedir=".">
12
13 <!-- enter the SVN commit message -->
14 <property name="commit.message" value="Commit message"/>
15 <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
16 <property name="plugin.main.version" value="4549"/>
17
18 <!--
19 **********************************************************
20 ** include targets that all plugins have in common
21 **********************************************************
22 -->
23 <import file="../build-common.xml"/>
24
25 <!--
26 **********************************************************
27 ** dist - creates the plugin jar
28 **********************************************************
29 -->
30 <target name="dist" depends="compile,revision">
31 <echo message="creating ${plugin.jar.name} ... "/>
32 <copy todir="${plugin.build.dir}/resources">
33 <fileset dir="resources"/>
34 </copy>
35 <copy todir="${plugin.build.dir}/images">
36 <fileset dir="images"/>
37 </copy>
38 <copy todir="${plugin.build.dir}/data">
39 <fileset dir="data"/>
40 </copy>
41 <copy todir="${plugin.build.dir}">
42 <fileset dir=".">
43 <include name="README"/>
44 <include name="LICENSE"/>
45 </fileset>
46 </copy>
47 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
48 <manifest>
49 <attribute name="Author" value="Andrzej Zaborowski"/>
50 <attribute name="Plugin-Class" value="wmsturbochallenge.WMSRacer"/>
51 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
52 <attribute name="Plugin-Description" value="Drive a race car from point A to point B over aerial imagery, leave cacti behind."/>
53 <attribute name="Plugin-Icon" value="images/wmsracer.png"/>
54 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/WMS_Racer"/>
55 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
56 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
57 </manifest>
58 </jar>
59 </target>
60</project>
Note: See TracBrowser for help on using the repository browser.