1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 | <!--
|
---|
3 | ** This is a template build file for the PBF plugin.
|
---|
4 | **
|
---|
5 | ** Maintaining versions
|
---|
6 | ** ====================
|
---|
7 | ** see README.template
|
---|
8 | **
|
---|
9 | ** Usage
|
---|
10 | ** =====
|
---|
11 | ** To build it run
|
---|
12 | **
|
---|
13 | ** > ant dist
|
---|
14 | **
|
---|
15 | ** To install the generated plugin locally (in you default plugin directory) run
|
---|
16 | **
|
---|
17 | ** > ant install
|
---|
18 | **
|
---|
19 | ** The generated plugin jar is not automatically available in JOSMs plugin configuration
|
---|
20 | ** dialog. You have to check it in first.
|
---|
21 | **
|
---|
22 | ** Use the ant target 'publish' to check in the plugin and make it available to other
|
---|
23 | ** JOSM users:
|
---|
24 | ** set the properties commit.message and plugin.main.version
|
---|
25 | ** and run
|
---|
26 | ** > ant publish
|
---|
27 | **
|
---|
28 | **
|
---|
29 | -->
|
---|
30 | <project name="pbf" default="dist" basedir=".">
|
---|
31 |
|
---|
32 | <!-- enter the SVN commit message -->
|
---|
33 | <property name="commit.message" value="Commit message"/>
|
---|
34 | <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
|
---|
35 | <property name="plugin.main.version" value="4687"/>
|
---|
36 |
|
---|
37 | <!-- Configure these properties (replace "..." accordingly).
|
---|
38 | See http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
|
---|
39 | -->
|
---|
40 | <property name="plugin.author" value="Don-vip"/>
|
---|
41 | <property name="plugin.class" value="org.openstreetmap.josm.plugins.pbf.PbfPlugin"/>
|
---|
42 | <property name="plugin.description" value="Import OSM data in PBF format"/>
|
---|
43 | <!--<property name="plugin.icon" value="images/pbf_24.png"/>-->
|
---|
44 | <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/PBF"/>
|
---|
45 | <!--<property name="plugin.early" value="..."/>-->
|
---|
46 | <!--<property name="plugin.requires" value="..."/>-->
|
---|
47 | <!--<property name="plugin.stage" value="..."/>-->
|
---|
48 |
|
---|
49 | <!-- ** include targets that all plugins have in common ** -->
|
---|
50 | <import file="../build-common.xml"/>
|
---|
51 |
|
---|
52 | <!--
|
---|
53 | **********************************************************
|
---|
54 | ** compile - complies the source tree
|
---|
55 | **********************************************************
|
---|
56 | -->
|
---|
57 | <target name="compile" depends="init">
|
---|
58 | <echo message="compiling sources for ${plugin.jar} ... "/>
|
---|
59 | <javac classpath="${josm}" debug="true" destdir="${plugin.build.dir}" includeAntRuntime="false">
|
---|
60 | <compilerarg value="-Xlint:deprecation"/>
|
---|
61 | <compilerarg value="-Xlint:unchecked"/>
|
---|
62 | <src path="src" />
|
---|
63 | <src path="gen" />
|
---|
64 | </javac>
|
---|
65 | </target>
|
---|
66 |
|
---|
67 | </project>
|
---|