source: osm/applications/editors/josm/plugins/videomapping/build.xml@ 30495

Last change on this file since 30495 was 30416, checked in by donvip, 10 years ago

[josm_plugins] switch plugins to Java 7

  • Property svn:mime-type set to text/xml
File size: 4.1 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<project name="videomapping" default="dist" basedir=".">
3
4 <!-- enter the SVN commit message -->
5 <property name="commit.message" value="fix after JOSM update"/>
6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
7 <property name="plugin.main.version" value="7001"/>
8
9 <!--
10 **********************************************************
11 ** include targets that all plugins have in common
12 **********************************************************
13 -->
14 <import file="../build-common.xml"/>
15
16 <property name="vlcj" value="${plugin.lib.dir}/vlcj-2.1.0.jar"/>
17 <property name="jna" value="${plugin.lib.dir}/jna-3.4.0.jar"/>
18 <property name="platform" value="${plugin.lib.dir}/platform-3.4.0.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">
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>
92</project>
Note: See TracBrowser for help on using the repository browser.