source: subversion/applications/editors/josm/plugins/OpeningHoursEditor/build.xml @ 31119

Last change on this file since 31119 was 30962, checked in by bastik, 5 years ago

see ​​#josm11090 - plugins ready for load at runtime:

OpeningHoursEditor?, mirrored_download, photo_geotagging, photoadjust,
piclayer, roadsigns, simplifyarea, tag2link, turnrestrictions

  • Property svn:mime-type set to text/xml
File size: 2.3 KB
RevLine 
[26174]1<?xml version="1.0" encoding="utf-8"?>
[22753]2<project name="OpeningHoursEditor" default="dist" basedir=".">
3    <!-- enter the SVN commit message -->
[26174]4    <property name="commit.message" value="fixed main version"/>
[22753]5    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
[30416]6    <property name="plugin.main.version" value="7001"/>
[30112]7       
8    <property name="plugin.author" value="Falko Thomale"/>
9    <property name="plugin.class" value="org.openstreetmap.josm.plugins.ohe.OhePlugin"/>
10    <property name="plugin.description" value="extended options for editing opening_hours"/>
11    <property name="plugin.icon" value="images/opening_hours.png"/>
12    <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/OpeningHoursEditor"/>
[30962]13    <property name="plugin.canloadatruntime" value="true"/>
[30112]14
15    <!-- ** include targets that all plugins have in common ** -->
16    <import file="../build-common.xml"/>
17       
[30122]18    <property name="javacc.home" location="../00_core_tools"/>
[30112]19        <property name="parser.dir" location="${plugin.src.dir}/org/openstreetmap/josm/plugins/ohe/parser"/>
20       
21    <target name="javacc" depends="init" unless="javacc.notRequired">
22        <exec append="false" executable="java" failifexecutionfails="true">
23            <arg value="-cp"/>
24            <arg value="${javacc.home}/javacc.jar"/>
25            <arg value="javacc"/>
[30416]26            <arg value="-JDK_VERSION=1.7"/>
[30112]27            <arg value="-GRAMMAR_ENCODING=UTF-8"/>
28            <arg value="-UNICODE_INPUT"/>
29            <arg value="-OUTPUT_DIRECTORY=${parser.dir}"/>
30            <arg value="${parser.dir}/OpeningTimeCompiler.jj"/>
[26174]31        </exec>
32    </target>
[30112]33
34        <!--
[22753]35    **********************************************************
[30112]36    ** compile - compiles the source tree
[22753]37    **********************************************************
38    -->
[30112]39    <target name="compile" depends="init, javacc">
40        <echo message="compiling sources for ${plugin.jar} ... "/>
41        <javac srcdir="src" debug="true" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="UTF-8">
42            <classpath>
43                <pathelement path="${plugin.build.dir}"/>
44                <pathelement location="${josm}"/>
45            </classpath>
[22753]46            <compilerarg value="-Xlint:deprecation"/>
47            <compilerarg value="-Xlint:unchecked"/>
48        </javac>
49    </target>
[30112]50
[22753]51</project>
Note: See TracBrowser for help on using the repository browser.