Changeset 29352 in osm for applications/editors/josm
- Timestamp:
- 2013-03-07T22:26:53+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/photo_geotagging/build.xml
r28398 r29352 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <!-- 3 ** This is a template build file for a JOSM plugin. 4 ** 5 ** Maintaining versions 6 ** ==================== 7 ** See README.template 8 ** 3 9 ** Usage 4 10 ** ===== 5 ** To build it run 6 ** 7 ** > ant dist 8 ** 9 ** To install the generated plugin locally (in you default plugin directory) run 10 ** 11 ** > ant install 12 ** 13 ** The generated plugin jar is not automatically available in JOSMs plugin configuration 14 ** dialog. You have to check it in first. 15 ** 16 ** Use the ant target 'publish' to check in the plugin and make it available to other 17 ** JOSM users: 18 ** set the properties commit.message and plugin.main.version 19 ** and run 20 ** > ant publish 21 ** 11 ** Call "ant help" to get possible build targets. 22 12 ** 23 13 --> … … 29 19 <property name="plugin.main.version" value="4762"/> 30 20 31 <!-- 32 ********************************************************** 33 ** include targets that all plugins have in common 34 ********************************************************** 35 --> 21 <property name="plugin.author" value="Paul Hartmann"/> 22 <property name="plugin.class" value="org.openstreetmap.josm.plugins.photo_geotagging.GeotaggingPlugin"/> 23 <property name="plugin.description" value="Write gps position info to the image file header. Run this feature from the right click menu of the image layer."/> 24 <property name="plugin.icon" value="images/geotagging.png"/> 25 <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/Photo_Geotagging"/> 26 27 <!-- ** include targets that all plugins have in common ** --> 36 28 <import file="../build-common.xml"/> 37 29 … … 44 36 <target name="compile" depends="init"> 45 37 <echo message="compiling sanselan sources ... "/> 46 <javac srcdir="${plugin.src.dir}" excludes="org/openstreetmap/**" debug="true" destdir="${plugin.build.dir}" encoding="iso-8859-1" >38 <javac srcdir="${plugin.src.dir}" excludes="org/openstreetmap/**" debug="true" destdir="${plugin.build.dir}" encoding="iso-8859-1" includeantruntime="false"> 47 39 <compilerarg value="-Xlint:deprecation"/> 48 40 </javac> 49 <echo message="compiling sources for ${plugin.jar} ..."/>50 <javac srcdir="${plugin.src.dir}" excludes="org/apache/sanselan/**" classpath="${josm}" debug="true" destdir="${plugin.build.dir}" >41 <echo message="compiling sources for ${plugin.jar} ..."/> 42 <javac srcdir="${plugin.src.dir}" excludes="org/apache/sanselan/**" classpath="${josm}" debug="true" destdir="${plugin.build.dir}" includeantruntime="false"> 51 43 <compilerarg value="-Xlint:deprecation"/> 52 44 <compilerarg value="-Xlint:unchecked"/> … … 54 46 </target> 55 47 56 <!--57 **********************************************************58 ** dist - creates the plugin jar59 **********************************************************60 -->61 <target name="dist" depends="compile,revision">62 <echo message="creating ${ant.project.name}.jar ... "/>63 <copy todir="${plugin.build.dir}/images">64 <fileset dir="images"/>65 </copy>66 <copy todir="${plugin.build.dir}/data">67 <fileset dir="data"/>68 </copy>69 <copy todir="${plugin.build.dir}">70 <fileset dir=".">71 <include name="README"/>72 </fileset>73 </copy>74 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">75 <!--76 ************************************************77 ** configure these properties. Most of them will be copied to the plugins78 ** manifest file. Property values will also show up in the list available79 ** plugins: http://josm.openstreetmap.de/wiki/Plugins.80 **81 ************************************************82 -->83 <manifest>84 <attribute name="Author" value="Paul Hartmann"/>85 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.photo_geotagging.GeotaggingPlugin"/>86 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>87 <attribute name="Plugin-Description" value="Write gps position info to the image file header. Run this feature from the right click menu of the image layer."/>88 <attribute name="Plugin-Icon" value="images/geotagging.png"/>89 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/Photo_Geotagging"/>90 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>91 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>92 </manifest>93 </jar>94 </target>95 96 48 </project>
Note:
See TracChangeset
for help on using the changeset viewer.