Changeset 30821 in osm for applications/editors/josm/plugins/videomapping/build.xml
- Timestamp:
- 2014-11-29T15:40:09+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/videomapping/build.xml
r30816 r30821 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 7 <property name="plugin.main.version" value="7001"/> 8 <property name="plugin.author" value="Matthias Meißer"/> 9 <property name="plugin.class" value="org.openstreetmap.josm.plugins.videomapping.VideoPlugin"/> 10 <property name="plugin.description" value="(This Plugin is currently work in progress!!!) Links and syncs a georeferenced video against a GPS track, to use it for identify visible objects."/> 11 <property name="plugin.icon" value="images/videomapping.png"/> 12 <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/VideoMapping"/> 13 <property name="plugin.requires" value="jna;log4j"/> 8 14 9 15 <!-- … … 14 20 <import file="../build-common.xml"/> 15 21 16 <property name="vlcj" value="${plugin.lib.dir}/vlcj-3.1.0.jar"/> 17 <property name="jna" value="${plugin.lib.dir}/jna-3.5.2.jar"/> 18 <property name="platform" value="${plugin.lib.dir}/platform-3.5.2.jar"/> 19 <!-- classpath --> 20 <path id="classpath"> 21 <pathelement path="${josm}"/> 22 <pathelement location="${vlcj}"/> 23 <!--Add extra libraries --> 24 <pathelement location="${jna}"/> 25 <pathelement location="${platform}"/> 26 <fileset dir="../log4j/lib"> 27 <include name="**/*.jar"/> 28 </fileset> 29 </path> 30 <!-- 31 ********************************************************** 32 ** compile - complies the source tree 33 ** Overrides the target from build-common.xml 34 ********************************************************** 35 --> 36 <target name="compile" depends="init"> 37 <echo message="compiling sources for ${plugin.jar} ..."/> 38 <javac srcdir="src" classpathref="classpath" debug="true" destdir="${plugin.build.dir}" encoding="UTF-8" includeantruntime="false"> 39 <compilerarg value="-Xlint:deprecation"/> 40 <compilerarg value="-Xlint:unchecked"/> 41 </javac> 42 </target> 43 44 <!-- 45 ********************************************************** 46 ** dist - creates the plugin jar 47 ********************************************************** 48 --> 49 <target name="dist" depends="compile,revision"> 50 <echo message="creating ${ant.project.name}.jar ... "/> 51 <copy todir="${plugin.build.dir}/resources"> 52 <fileset dir="resources"/> 53 </copy> 54 <copy todir="${plugin.build.dir}/images"> 55 <fileset dir="images"/> 56 </copy> 57 <copy todir="${plugin.build.dir}/data"> 58 <fileset dir="data"/> 59 </copy> 60 <copy todir="${plugin.build.dir}"> 61 <fileset dir="."> 62 <include name="README"/> 63 <include name="LICENSE"/> 64 </fileset> 65 </copy> 66 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 67 <!-- 68 ************************************************ 69 ** configure these properties. Most of them will be copied to the plugins 70 ** manifest file. Property values will also show up in the list available 71 ** plugins: http://josm.openstreetmap.de/wiki/Plugins. 72 ** 73 ************************************************ 74 --> 75 <manifest> 76 <attribute name="Author" value="Matthias Meißer"/> 77 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.videomapping.VideoPlugin"/> 78 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 79 <attribute name="Plugin-Description" value="(This Plugin is currently work in progress!!!) Links and syncs a georeferenced video against a GPS track, to use it for identify visible objects."/> 80 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/VideoMapping"/> 81 <attribute name="Plugin-Icon" value="images/videomapping.png"/> 82 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/> 83 <attribute name="Plugin-Requires" value="log4j"/> 84 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 85 </manifest> 86 <!--added to bundle libs--> 87 <zipfileset src="${jna}"/> 88 <zipfileset src="${platform}"/> 89 <zipfileset src="${vlcj}"/> 90 </jar> 91 </target> 22 <fileset id="plugin.requires.jars" dir="${plugin.dist.dir}"> 23 <include name="jna.jar"/> 24 <include name="log4j.jar"/> 25 </fileset> 26 92 27 </project>
Note:
See TracChangeset
for help on using the changeset viewer.
