[28160] | 1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
| 2 | <!--
|
---|
[28291] | 3 | ** Maintaining versions
|
---|
| 4 | ** ====================
|
---|
| 5 | ** see README.template
|
---|
[28160] | 6 | **
|
---|
| 7 | ** Usage
|
---|
| 8 | ** =====
|
---|
| 9 | ** To build it run
|
---|
| 10 | **
|
---|
[28291] | 11 | ** > ant
|
---|
| 12 | ** or
|
---|
| 13 | ** > ant clean dist
|
---|
[28160] | 14 | **
|
---|
[28291] | 15 | ** To install the generated plugin locally (in you default plugin directory) run
|
---|
[28160] | 16 | **
|
---|
[28291] | 17 | ** > ant install
|
---|
[28160] | 18 | **
|
---|
[28291] | 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:
|
---|
[28160] | 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=".">
|
---|
[28291] | 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 |
|
---|
[28160] | 37 | <!--
|
---|
[28291] | 38 | **********************************************************
|
---|
| 39 | ** include targets that all plugins have in common
|
---|
| 40 | **********************************************************
|
---|
[28160] | 41 | -->
|
---|
[28291] | 42 | <import file="../build-common.xml"/>
|
---|
| 43 |
|
---|
[28160] | 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>
|
---|