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