1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 | <project name="comfort0" default="dist" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
|
---|
3 |
|
---|
4 | <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
|
---|
5 | <property name="plugin.main.version" value="9229"/>
|
---|
6 | <property name="plugin.canloadatruntime" value="true"/>
|
---|
7 |
|
---|
8 | <property name="plugin.author" value="simon04"/>
|
---|
9 | <property name="plugin.class" value="net.simon04.comfort0.Comfort0Plugin"/>
|
---|
10 | <property name="plugin.description" value="Allows editing data in Level0L format"/>
|
---|
11 | <property name="plugin.icon" value="images/theta.svg"/>
|
---|
12 | <property name="plugin.link" value="https://josm.openstreetmap.de/wiki/Help/Plugin/Comfort0"/>
|
---|
13 |
|
---|
14 | <!-- ** include targets that all plugins have in common ** -->
|
---|
15 | <import file="../build-common.xml"/>
|
---|
16 |
|
---|
17 | <property name="parser.dir" location="src/net/simon04/comfort0/level0l"/>
|
---|
18 | <target name="pre-compile" depends="javacc"/>
|
---|
19 | <target name="javacc" depends="init" unless="javacc.notRequired">
|
---|
20 | <ivy:cachepath file="${core.tools.ivy}" pathid="javacc.classpath" conf="javacc"/>
|
---|
21 | <mkdir dir="${parser.dir}/parsergen"/>
|
---|
22 | <java classname="javacc" fork="true" failonerror="true">
|
---|
23 | <classpath refid="javacc.classpath"/>
|
---|
24 | <arg value="-DEBUG_PARSER=false"/>
|
---|
25 | <arg value="-DEBUG_TOKEN_MANAGER=false"/>
|
---|
26 | <arg value="-JDK_VERSION=1.7"/>
|
---|
27 | <arg value="-GRAMMAR_ENCODING=UTF-8"/>
|
---|
28 | <arg value="-OUTPUT_DIRECTORY=${parser.dir}/parsergen"/>
|
---|
29 | <arg value="${parser.dir}/Level0LParser.jj"/>
|
---|
30 | </java>
|
---|
31 | </target>
|
---|
32 |
|
---|
33 | </project>
|
---|