1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 | <!--
|
---|
3 | ** Usage
|
---|
4 | ** =====
|
---|
5 | ** Call "ant help" to get possible build targets.
|
---|
6 | **
|
---|
7 | -->
|
---|
8 | <project name="imagery_cachexport" default="dist" basedir=".">
|
---|
9 |
|
---|
10 | <!-- enter the SVN commit message -->
|
---|
11 | <property name="commit.message" value="Commit message"/>
|
---|
12 | <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
|
---|
13 | <property name="plugin.main.version" value="12847"/>
|
---|
14 |
|
---|
15 | <!-- Configure these properties (replace "..." accordingly).
|
---|
16 | See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
|
---|
17 | -->
|
---|
18 | <property name="plugin.author" value="holgermappt"/>
|
---|
19 | <property name="plugin.class" value="org.openstreetmap.josm.plugins.imagery_cachexport.ImageryCacheExportPlugin"/>
|
---|
20 | <property name="plugin.description" value="Export tiles from the imagery layer cache into the file system."/>
|
---|
21 | <property name="plugin.icon" value="images/imageryexport.png"/>
|
---|
22 | <!--property name="plugin.link" value="https://wiki.openstreetmap.org/wiki/JOSM/Plugins/ImageryCacheExport"/>-->
|
---|
23 | <!--<property name="plugin.early" value="..."/>-->
|
---|
24 | <!--<property name="plugin.requires" value="..."/>-->
|
---|
25 | <!--<property name="plugin.stage" value="..."/>-->
|
---|
26 | <property name="plugin.canloadatruntime" value="true"/>
|
---|
27 |
|
---|
28 | <property name="josm" location="../../core/dist/josm-custom.jar"/>
|
---|
29 | <property name="plugin.javadoc.dir" location="javadoc"/>
|
---|
30 |
|
---|
31 | <!-- ** include targets that all plugins have in common ** -->
|
---|
32 | <import file="../build-common.xml"/>
|
---|
33 |
|
---|
34 | <!-- ** internationalization ** -->
|
---|
35 | <import file="i18n/build-i18n.xml"/>
|
---|
36 |
|
---|
37 | <target name="pot" description="Extract translatable strings from source." depends="gettext-init">
|
---|
38 | <mkdir dir="${plugin.po.dir}"/>
|
---|
39 | <gettext-extract keysFile="${ant.project.name}.pot" poDirectory="${plugin.po.dir}" keywords="-k -ktrc:1c,2 -kmarktrc:1c,2 -ktr -kmarktr -ktrn:1,2 -ktrnc:1c,2,3">
|
---|
40 | <fileset dir="${plugin.src.dir}" includes="**/*.java"/>
|
---|
41 | </gettext-extract>
|
---|
42 | <echo file="${plugin.po.dir}/${ant.project.name}.pot" append="true">
|
---|
43 | #. Plugin ${ant.project.name}
|
---|
44 | #: build.xml:1
|
---|
45 | msgid "${plugin.description}"
|
---|
46 | msgstr ""
|
---|
47 | </echo>
|
---|
48 | </target>
|
---|
49 |
|
---|
50 | <!--
|
---|
51 | **********************************************************
|
---|
52 | ** javadoc - create the plugin documentation
|
---|
53 | **********************************************************
|
---|
54 | -->
|
---|
55 | <target name="javadoc" description="generate documentation">
|
---|
56 | <javadoc destdir="${plugin.javadoc.dir}"
|
---|
57 | sourcepath="${plugin.src.dir}"
|
---|
58 | windowtitle="${ant.project.name}"
|
---|
59 | linksource="true"
|
---|
60 | private="true">
|
---|
61 | <classpath>
|
---|
62 | <pathelement location="${josm}"/>
|
---|
63 | </classpath>
|
---|
64 | <!-- Paths are relative to javadoc destdir (${plugin.javadoc.dir}). -->
|
---|
65 | <link href="../../../core/javadoc/"/>
|
---|
66 | <link href="https://josm.openstreetmap.de/doc/"/>
|
---|
67 | <link href="https://docs.oracle.com//javase/8/docs/api/"/>
|
---|
68 | </javadoc>
|
---|
69 | </target>
|
---|
70 |
|
---|
71 | <target name="additional-manifest">
|
---|
72 | <antcall target="mftrans"/>
|
---|
73 | </target>
|
---|
74 | </project>
|
---|