[35282] | 1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
[35378] | 2 | <project name="comfort0" default="dist" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
|
---|
[35282] | 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"/>
|
---|
[35293] | 9 | <property name="plugin.class" value="net.simon04.comfort0.Comfort0Plugin"/>
|
---|
[35282] | 10 | <property name="plugin.description" value="Allows editing data in Level0L format"/>
|
---|
[35301] | 11 | <property name="plugin.icon" value="images/theta.svg"/>
|
---|
[35316] | 12 | <property name="plugin.link" value="https://josm.openstreetmap.de/wiki/Help/Plugin/Comfort0"/>
|
---|
[35282] | 13 |
|
---|
| 14 | <!-- ** include targets that all plugins have in common ** -->
|
---|
| 15 | <import file="../build-common.xml"/>
|
---|
| 16 |
|
---|
[35283] | 17 | <property name="parser.dir" location="src/net/simon04/comfort0/level0l"/>
|
---|
[35295] | 18 | <target name="pre-compile" depends="javacc"/>
|
---|
[35587] | 19 | <target name="javacc" depends="init,init-ivy" unless="javacc.notRequired">
|
---|
[35378] | 20 | <ivy:cachepath file="${core.tools.ivy}" pathid="javacc.classpath" conf="javacc"/>
|
---|
[35283] | 21 | <mkdir dir="${parser.dir}/parsergen"/>
|
---|
[35378] | 22 | <java classname="javacc" fork="true" failonerror="true">
|
---|
| 23 | <classpath refid="javacc.classpath"/>
|
---|
[35283] | 24 | <arg value="-DEBUG_PARSER=false"/>
|
---|
| 25 | <arg value="-DEBUG_TOKEN_MANAGER=false"/>
|
---|
[35765] | 26 | <arg value="-JDK_VERSION=1.${java.lang.version}"/>
|
---|
[35283] | 27 | <arg value="-GRAMMAR_ENCODING=UTF-8"/>
|
---|
| 28 | <arg value="-OUTPUT_DIRECTORY=${parser.dir}/parsergen"/>
|
---|
| 29 | <arg value="${parser.dir}/Level0LParser.jj"/>
|
---|
[35378] | 30 | </java>
|
---|
[35283] | 31 | </target>
|
---|
| 32 |
|
---|
[35282] | 33 | </project>
|
---|