Changeset 1469 in osm for utils/josm/plugins/lang-de/build.xml
- Timestamp:
- 2006-10-13T23:20:51+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/josm/plugins/lang-de/build.xml
r1467 r1469 2 2 3 3 <property name="language" value="de" /> 4 <property name="josm" value="../../../../editors/josm" /> 4 5 <target name="init"> 6 <mkdir dir="bin" /> 7 </target> 8 9 <target name="compile" depends="init"> 10 <javac srcdir="src" classpath="../../../../editors/josm/dist/josm-custom.jar" destdir="bin" /> 11 </target> 5 12 6 <target name="install"> 13 <!-- install entry point for eclipse user --> 14 <target name="jar"> 7 15 <jar destfile="${user.home}/.josm/plugins/lang-${language}.jar" basedir="bin"> 8 <fileset dir="ressource" />9 16 <manifest> 10 17 <attribute name="Plugin-Class" value="org.openstreetmap.josm.TranslationLoader_${language}" /> … … 14 21 </jar> 15 22 </target> 23 24 <target name="install" depends="compile,gettext,jar" /> 16 25 17 <target name="gettext"> 18 <exec executable="find" output="build/alljava.txt"> 19 <arg line="src -name '*.java'"/> 26 27 28 <target name="find"> 29 <exec executable="find" output="alljava.txt"> 30 <arg line="../../../../editors/josm/src ../ -name '*.java'"/> 20 31 </exec> 32 </target> 33 34 <target name="xgettext"> 21 35 <exec executable="xgettext"> 22 <arg line="-ktr -ktrn:1,2 -ktrc -kmarktr -Ljava -o po/keys.pot -fbuild/alljava.txt"/>36 <arg line="-ktr -ktrn:1,2 -ktrc -kmarktr -Ljava -okeys.pot -falljava.txt"/> 23 37 </exec> 38 </target> 39 40 <target name="msgmerge"> 24 41 <exec executable="msgmerge"> 25 <arg line="-U ${language}.po $(josm)/po/keys.pot"/>42 <arg line="-U ${language}.po keys.pot"/> 26 43 </exec> 44 </target> 45 46 <target name="gettext" depends="find,xgettext,msgmerge"> 27 47 <exec executable="msgfmt"> 28 <arg line="--java2 -d po-rorg.openstreetmap.josm.Translation -l${language} ${language}.po"/>48 <arg line="--java2 -dbin -rorg.openstreetmap.josm.Translation -l${language} ${language}.po"/> 29 49 </exec> 30 50 </target>
Note:
See TracChangeset
for help on using the changeset viewer.