Changeset 35039 in osm for applications/editors/josm/plugins/routing
- Timestamp:
- 2019-06-23T04:58:53+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/routing/build.xml
r34554 r35039 7 7 <property name="plugin.main.version" value="14153"/> 8 8 9 <property name="plugin.author" value="Jose Vidal <vidalfree@gmail.com>, Juangui Jordán <juangui@gmail.com>, Hassan S <hassan.sabirin@gmail.com>"/> 10 <property name="plugin.class" value="com.innovant.josm.plugin.routing.RoutingPlugin"/> 11 <property name="plugin.description" value="Provides routing capabilities."/> 12 <property name="plugin.icon" value="images/preferences/routing.png"/> 13 <property name="plugin.link" value="https://wiki.openstreetmap.org/index.php/JOSM/Plugins/Routing"/> 14 <property name="plugin.requires" value="log4j"/> 15 9 16 <!-- 10 17 ********************************************************** … … 14 21 <import file="../build-common.xml"/> 15 22 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> 23 <fileset id="plugin.requires.jars" dir="${plugin.dist.dir}"> 24 <include name="log4j.jar"/> 25 </fileset> 37 26 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}/"> 27 <target name="setup-dist"> 28 <antcall target="setup-dist-default" /> 29 <copy todir="${plugin.build.dir}"> 47 30 <fileset dir="resources"> 48 31 <include name="*.xml"/> 49 32 </fileset> 50 33 </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 plugins55 ** manifest file. Property values will also show up in the list available56 ** plugins: https://josm.openstreetmap.de/wiki/Plugins.57 **58 ************************************************59 -->60 <manifest>61 <attribute name="Author" value="Jose Vidal <vidalfree@gmail.com>, Juangui Jordán <juangui@gmail.com>, Hassan S <hassan.sabirin@gmail.com>"/>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 34 </target> 75 35 </project>
Note:
See TracChangeset
for help on using the changeset viewer.