Changeset 29474 in osm for applications/editors/josm/plugins/undelete/build.xml
- Timestamp:
- 2013-04-04T13:59:51+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/undelete/build.xml
r29435 r29474 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **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 you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="undelete" default="dist" basedir="."> 31 32 3 <!-- enter the SVN commit message --> 33 4 <property name="commit.message" value="adapt to core changes (backwards compatible)"/> … … 35 6 <property name="plugin.main.version" value="5211"/> 36 7 37 <!-- 38 ********************************************************** 39 ** include targets that all plugins have in common 40 ********************************************************** 41 --> 8 <property name="plugin.author" value="Nakor"/> 9 <property name="plugin.class" value="org.openstreetmap.josm.plugins.undelete.Undelete"/> 10 <property name="plugin.description" value="Allows undeleting object from OSM database"/> 11 <property name="plugin.icon" value="images/undelete.png"/> 12 <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/Undelete"/> 13 14 <!-- ** include targets that all plugins have in common ** --> 42 15 <import file="../build-common.xml"/> 43 16 44 <!--45 **********************************************************46 ** dist - creates the plugin jar47 **********************************************************48 -->49 <target name="dist" depends="compile,revision">50 <echo message="creating ${plugin.jar.name} ... "/>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="Nakor"/>74 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.undelete.Undelete"/>75 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>76 <attribute name="Plugin-Description" value="Allows undeleting object from OSM database"/>77 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/Undelete"/>78 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>79 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>80 </manifest>81 </jar>82 </target>83 17 </project>
Note:
See TracChangeset
for help on using the changeset viewer.