1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 | <project name="pbf" default="dist" basedir=".">
|
---|
3 |
|
---|
4 | <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
|
---|
5 | <property name="plugin.main.version" value="14699"/>
|
---|
6 |
|
---|
7 | <property name="plugin.author" value="Don-vip"/>
|
---|
8 | <property name="plugin.class" value="org.openstreetmap.josm.plugins.pbf.PbfPlugin"/>
|
---|
9 | <property name="plugin.description" value="Import/export OSM data in PBF format"/>
|
---|
10 | <!--<property name="plugin.icon" value="images/pbf_24.png"/>-->
|
---|
11 | <property name="plugin.canloadatruntime" value="true"/>
|
---|
12 | <property name="plugin.link" value="https://wiki.openstreetmap.org/wiki/JOSM/Plugins/PBF"/>
|
---|
13 |
|
---|
14 | <!-- ** include targets that all plugins have in common ** -->
|
---|
15 | <import file="../build-common.xml"/>
|
---|
16 |
|
---|
17 | <!--
|
---|
18 | **********************************************************
|
---|
19 | ** compile - complies the source tree
|
---|
20 | **********************************************************
|
---|
21 | -->
|
---|
22 | <target name="compile" depends="init">
|
---|
23 | <echo message="compiling sources for ${plugin.jar} ... "/>
|
---|
24 | <javac classpath="${josm}" debug="true" destdir="${plugin.build.dir}" includeAntRuntime="false">
|
---|
25 | <!-- get rid of "internal proprietary API" warning -->
|
---|
26 | <compilerarg value="-XDignore.symbol.file"/>
|
---|
27 | <src path="src" />
|
---|
28 | <src path="gen" />
|
---|
29 | <exclude name="org/**"/>
|
---|
30 | </javac>
|
---|
31 | <javac classpath="${josm}" debug="true" destdir="${plugin.build.dir}" includeAntRuntime="false">
|
---|
32 | <compilerarg value="-Xlint:deprecation"/>
|
---|
33 | <compilerarg value="-Xlint:unchecked"/>
|
---|
34 | <src path="src" />
|
---|
35 | <include name="org/**"/>
|
---|
36 | </javac>
|
---|
37 | </target>
|
---|
38 | </project>
|
---|