source: osm/applications/editors/josm/plugins/photoadjust/build.xml@ 35992

Last change on this file since 35992 was 35992, checked in by taylor.smock, 2 years ago

See #22115, #22149: Update build.xml for r18494 and r35978/osm

  • Property svn:mime-type set to text/xml
File size: 3.0 KB
Line 
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="18494"/>
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.svg"/>
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
39msgid "${plugin.description}"
40msgstr ""
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="https://docs.oracle.com//javase/8/docs/api/"/>
62 </javadoc>
63 </target>
64
65 <target name="additional-manifest">
66 <antcall target="mftrans"/>
67 </target>
68</project>
Note: See TracBrowser for help on using the repository browser.