Changeset 30155 in osm for applications/editors/josm/plugins/photoadjust/build.xml
- Timestamp:
- 2013-12-28T21:35:45+01:00 (12 years ago)
- Location:
- applications/editors/josm/plugins/photoadjust
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/photoadjust
-
Property svn:ignore
set to
josm_trans_*gz
build
po
-
Property svn:ignore
set to
-
applications/editors/josm/plugins/photoadjust/build.xml
r30137 r30155 19 19 See http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins 20 20 --> 21 <property name="plugin.author" value=" Holger Mappt"/>21 <property name="plugin.author" value="holgermappt"/> 22 22 <property name="plugin.class" value="org.openstreetmap.josm.plugins.photoadjust.PhotoAdjustPlugin"/> 23 23 <property name="plugin.description" value="Make photos movable and position them on the map."/> … … 31 31 <property name="plugin.dist.dir" value="../../dist"/> 32 32 <property name="plugin.javadoc.dir" location="javadoc"/> 33 <property name="gettexttasks.jar" value="../../i18n/lib/gettext-ant-tasks-0.9.7.jar"/>34 33 35 34 <!-- ** include targets that all plugins have in common ** --> 36 35 <import file="../build-common.xml"/> 36 <!-- ** internationalization ** --> 37 <import file="i18n/build-i18n.xml"/> 37 38 38 39 <!-- … … 52 53 </target> 53 54 54 <!-- 55 ********************************************************** 56 ** gettext - string extraction and merge 57 ********************************************************** 58 --> 59 <target name="gettext-init" description="Loads the Ant gettext and contrib tasks."> 60 <taskdef name="gettext-extract" classname="org.xnap.commons.ant.gettext.GettextExtractKeysTask" classpath="${gettexttasks.jar}"/> 61 </target> 62 <target name="pot" description="Extract translatable strings from source." depends="gettext-init"> 63 <mkdir dir="po"/> 64 <gettext-extract keysFile="${ant.project.name}.pot" poDirectory="po" keywords="-k -ktrc:1c,2 -kmarktrc:1c,2 -ktr -kmarktr -ktrn:1,2 -ktrnc:1c,2,3"> 65 <fileset dir="src" includes="**/*.java"/> 66 </gettext-extract> 67 <echo file="po/${ant.project.name}.pot" append="true"> 68 #. Plugin ${ant.project.name} 69 #: build.xml:1 70 msgid "${plugin.description}" 71 msgstr "" 72 </echo> 73 </target> 74 <target name="pomerge" description="Merge extracted strings into language files."> 75 <exec executable="perl"> 76 <arg line="pomerge.pl"/> 77 </exec> 78 </target> 79 <target name="poimport" description="Import the PO files from the tarball launchpad-export.tar.gz exported from Launchpad."> 80 <exec executable="perl"> 81 <arg line="poimport.pl"/> 82 </exec> 83 </target> 84 <target name="lang" description="Prepare *.lang files in data directory."> 85 <exec executable="perl"> 86 <arg line="../../i18n/i18n.pl data po/*.po"/> 87 </exec> 55 <target name="additional-manifest"> 56 <antcall target="mftrans"/> 88 57 </target> 89 58 </project>
Note:
See TracChangeset
for help on using the changeset viewer.
