source: osm/applications/editors/josm/plugins/OpeningHoursEditor/build.xml@ 36232

Last change on this file since 36232 was 36183, checked in by taylor.smock, 16 months ago

See #23218: Fix compiling OpeningHoursEditor with arguments pointing to a different JOSM source directory

This also fixes some lint issues in the plugin.

  • Property svn:mime-type set to text/xml
File size: 1.8 KB
RevLine 
[26174]1<?xml version="1.0" encoding="utf-8"?>
[35378]2<project name="OpeningHoursEditor" default="dist" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
[22753]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 -->
[34535]6 <property name="plugin.main.version" value="14153"/>
[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"/>
[31923]12 <property name="plugin.link" value="https://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
[36183]18 <property name="parser.dir" location="${plugin.src.dir}/org/openstreetmap/josm/plugins/ohe/parser"/>
[30112]19
[36183]20 <target name="javacc" depends="resolve-tools" unless="javacc.notRequired">
[35378]21 <ivy:cachepath file="${core.tools.ivy}" pathid="javacc.classpath" conf="javacc"/>
22 <java classname="javacc" fork="true" failonerror="true">
23 <classpath refid="javacc.classpath"/>
[32680]24 <arg value="-JDK_VERSION=1.8"/>
[30112]25 <arg value="-GRAMMAR_ENCODING=UTF-8"/>
26 <arg value="-UNICODE_INPUT"/>
27 <arg value="-OUTPUT_DIRECTORY=${parser.dir}"/>
28 <arg value="${parser.dir}/OpeningTimeCompiler.jj"/>
[35378]29 </java>
[26174]30 </target>
[30112]31
[36183]32 <target name="pre-compile" depends="javacc">
33 <!-- ensure that we build the javacc classes -->
[22753]34 </target>
[30112]35
[22753]36</project>
Note: See TracBrowser for help on using the repository browser.