Changeset 29505 in osm for applications/editors/josm/plugins/mirrored_download/build.xml
- Timestamp:
- 2013-04-16T20:18:30+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mirrored_download/build.xml
r29435 r29505 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the mirrored_download plugin4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in your default plugin directory) run16 **17 ** > ant install18 **19 ** To build against the core in ../../core, create a correct manifest and deploy to20 ** SVN,21 ** set the properties commit.message and plugin.main.version22 ** and run23 ** > ant publish24 **25 **26 -->27 2 <project name="mirrored_download" default="dist" basedir="."> 28 3 … … 30 5 <property name="commit.message" value=""/> 31 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 32 <property name="plugin.main.version" value="5 097"/>7 <property name="plugin.main.version" value="5874"/> 33 8 34 <!-- 35 ********************************************************** 36 ** include targets that all plugins have in common 37 ********************************************************** 9 <!-- Configure these properties (replace "..." accordingly). 10 See http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins 38 11 --> 12 <property name="plugin.author" value="Roland M. Olbricht"/> 13 <property name="plugin.class" value="mirrored_download.MirroredDownloadPlugin"/> 14 <property name="plugin.description" value="Simplifies download from different read-only APIs."/> 15 <property name="plugin.icon" value="images/download_mirror.png"/> 16 <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/mirrored_download"/> 17 18 <!-- ** include targets that all plugins have in common ** --> 39 19 <import file="../build-common.xml"/> 40 20 41 <!--42 **********************************************************43 ** dist - creates the plugin jar44 **********************************************************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 plugins67 ** manifest file. Property values will also show up in the list available68 ** 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 21 </project>
Note:
See TracChangeset
for help on using the changeset viewer.
