source: subversion/applications/editors/josm/plugins/sds/build.xml @ 29210

Last change on this file since 29210 was 28291, checked in by Dirk Stoecker, 7 years ago

add sds plugin to build

File size: 2.2 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3** Maintaining versions
4** ====================
5** see README.template
6**
7** Usage
8** =====
9** To build it run
10**
11**    > ant
12** or
13**    > ant clean 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="sds" default="dist" basedir=".">
31
32    <!-- enter the SVN commit message -->
33    <property name="commit.message" value=""/>
34    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
35    <property name="plugin.main.version" value="4549"/>
36
37    <!--
38    **********************************************************
39    ** include targets that all plugins have in common
40    **********************************************************
41    -->
42    <import file="../build-common.xml"/>
43
44    <target name="dist" depends="compile,revision">
45        <copy todir="${plugin.build.dir}/images">
46            <fileset dir="images"/>
47        </copy>
48        <copy todir="${plugin.build.dir}/data">
49            <fileset dir="data"/>
50        </copy>
51        <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
52            <manifest>
53                <attribute name="Author" value="Frederik Ramm"/>
54                <attribute name="Plugin-Class" value="org.openstreetmap.hot.sds.SeparateDataStorePlugin"/>
55                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
56                <attribute name="Plugin-Description" value="Loads data from SDS" />
57                <attribute name="Plugin-Icon" value="images/sds.png"/>
58                <!--<attribute name="Plugin-Link" value=""/>-->
59                <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
60                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
61            </manifest>
62        </jar>
63    </target>
64</project>
Note: See TracBrowser for help on using the repository browser.