Changeset 11540 in osm for applications
- Timestamp:
- 2008-10-29T08:55:46+01:00 (16 years ago)
- Location:
- applications/editors/josm/i18n
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/build.xml
r11529 r11540 2 2 3 3 <!-- compilation properties --> 4 <property name="josm.build.dir" 5 <property name="josm.presets" 6 <property name="plugin.dir" 7 <property name="validator.tagfile" 8 <property name="i18n.build.dir" 9 <property name="i18n.dist.dir" 10 <property name="i18n.install.dir" 11 <property name="i18n.name" 12 <property name="i18n.jar" 13 4 <property name="josm.build.dir" value="../core"/> 5 <property name="josm.presets" value="../core/presets/presets.xml"/> 6 <property name="plugin.dir" value="../plugins"/> 7 <property name="validator.tagfile" value="${plugin.dir}/validator/tagchecker.cfg"/> 8 <property name="i18n.build.dir" value="build"/> 9 <property name="i18n.dist.dir" value="../dist"/> 10 <property name="i18n.install.dir" value="${josm.build.dir}/lib"/> 11 <property name="i18n.name" value="josm-translation"/> 12 <property name="i18n.jar" value="${i18n.dist.dir}/${i18n.name}.jar"/> 13 14 14 <property name="ant.build.javac.target" value="1.5"/> 15 15 … … 29 29 <arg value="${plugin.dir}"/> 30 30 <arg value="."/> 31 <arg value="-name '*.java'"/> 31 <arg value="-name"/> 32 <arg value="*.java"/> 32 33 </exec> 33 34 … … 36 37 </exec> 37 38 </target> 38 39 39 40 <target name="build" depends="josm.pot"> 41 <copy file="i18n.properties" todir="build/org/openstreetmap/josm" /> 42 40 43 <ant target="build-lang"><property name="language" value="de"/></ant> 41 44 <ant target="build-lang"><property name="language" value="en_GB"/></ant> … … 46 49 <ant target="build-lang"><property name="language" value="ru"/></ant> 47 50 <ant target="build-lang"><property name="language" value="sl"/></ant> 48 49 <copy file="i18n.properties" todir="build/org/openstreetmap/josm" /> 50 51 51 52 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false"> 52 53 <env key="LANG" value="C"/> … … 57 58 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 58 59 <delete file="REVISION"/> 59 60 60 61 <jar destfile="${i18n.jar}" basedir="build"> 61 62 <manifest> 62 63 <attribute name="Extension-Name" value="JOSM Translation into various languages" /> 63 64 64 <attribute name="Translation-Version" value="${version.entry.commit.revision}"/> 65 <attribute name="Translation-Date" value="${version.entry.commit.date}"/> 65 66 </manifest> 66 </jar> 67 </jar> 67 68 68 69 </target> 69 70 70 71 <target name="build-lang"> 71 72 <exec executable="msgmerge"> 72 73 <arg line="-U po/${language}.po po/josm.pot"/> 73 74 </exec> 74 75 <exec executable="msgfmt">75 76 <exec executable="msgfmt"> 76 77 <arg line="--verbose --java2 -dbuild -rorg.openstreetmap.josm.i18n.Translation -l${language} po/${language}.po"/> 77 </exec>78 </exec> 78 79 </target> 79 80 80 81 <target name="install" depends="build"> 81 82 <copy file="${i18n.jar}" todir="${i18n.install.dir}" /> 82 83 </target> 83 84 84 85 <target name="clean"> 85 86 <delete dir="${i18n.build.dir}" /> 86 87 <delete file="po/josm.pot"/> 87 88 <delete file="presets.java"/> 88 <delete file="validator.java"/> 89 <delete file="validator.java"/> 89 90 <delete file="java_sourcefiles.txt"/> 90 91 </target> -
applications/editors/josm/i18n/po
-
Property svn:ignore
set to
josm.pot
-
Property svn:ignore
set to
Note:
See TracChangeset
for help on using the changeset viewer.