source: subversion/applications/editors/josm/plugins/routing/build.xml @ 34348

Last change on this file since 34348 was 33891, checked in by donvip, 19 months ago

update to JOSM 12987

  • Property svn:mime-type set to text/xml
File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<project name="routing" default="dist" basedir=".">
3
4    <!-- enter the SVN commit message -->
5    <property name="commit.message" value="added one-way support in roundabouts"/>
6    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
7    <property name="plugin.main.version" value="12987"/>
8
9    <!--
10    **********************************************************
11    ** include targets that all plugins have in common
12    **********************************************************
13    -->
14    <import file="../build-common.xml"/>
15
16    <!-- classpath -->
17    <path id="classpath">
18        <fileset dir="${plugin.lib.dir}" includes="**/*.jar"/>
19        <pathelement path="${josm}"/>
20        <fileset dir="../log4j/lib">
21            <include name="**/*.jar"/>
22        </fileset>
23    </path>
24    <!--
25    **********************************************************
26    ** compile - complies the source tree
27    ** Overrides the target from build-common.xml
28    **********************************************************
29    -->
30    <target name="compile" depends="init">
31        <echo message="compiling sources for ${plugin.jar} ..."/>
32        <javac srcdir="src" classpathref="classpath" debug="true" destdir="${plugin.build.dir}" includeantruntime="false">
33            <compilerarg value="-Xlint:deprecation"/>
34            <compilerarg value="-Xlint:unchecked"/>
35        </javac>
36    </target>
37
38    <!-- Generate distribution -->
39    <target name="dist" depends="compile,revision" description="Generate distribution">
40        <copy todir="${plugin.build.dir}/images">
41            <fileset dir="images"/>
42        </copy>
43        <copy todir="${plugin.build.dir}/data">
44            <fileset dir="data"/>
45        </copy>
46        <copy todir="${plugin.build.dir}/">
47            <fileset dir="resources">
48                <include name="*.xml"/>
49            </fileset>
50        </copy>
51        <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifestencoding="UTF-8">
52        <!--
53        ************************************************
54        ** configure these properties. Most of them will be copied to the plugins
55        ** manifest file. Property values will also show up in the list available
56        ** plugins: https://josm.openstreetmap.de/wiki/Plugins.
57        **
58        ************************************************
59        -->
60            <manifest>
61                <attribute name="Author" value="Jose Vidal &lt;vidalfree@gmail.com&gt;, Juangui Jordán &lt;juangui@gmail.com&gt;, Hassan S &lt;hassan.sabirin@gmail.com&gt;"/>
62                <attribute name="Plugin-Class" value="com.innovant.josm.plugin.routing.RoutingPlugin"/>
63                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
64                <attribute name="Plugin-Description" value="Provides routing capabilities."/>
65                <attribute name="Plugin-Icon" value="images/preferences/routing.png"/>
66                <attribute name="Plugin-Link" value="https://wiki.openstreetmap.org/index.php/JOSM/Plugins/Routing"/>
67                <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
68                <attribute name="Plugin-Stage" value="50"/>
69                <attribute name="Plugin-Requires" value="log4j"/>
70                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
71            </manifest>
72            <zipfileset src="${plugin.lib.dir}/jgrapht-jdk1.5.jar"/>
73        </jar>
74    </target>
75</project>
Note: See TracBrowser for help on using the repository browser.