Changeset 11540 in osm for applications


Ignore:
Timestamp:
2008-10-29T08:55:46+01:00 (16 years ago)
Author:
stoecker
Message:

fixed some build issues

Location:
applications/editors/josm/i18n
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/i18n/build.xml

    r11529 r11540  
    22
    33  <!-- compilation properties -->
    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  
     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
    1414  <property name="ant.build.javac.target" value="1.5"/>
    1515
     
    2929      <arg value="${plugin.dir}"/>
    3030      <arg value="."/>
    31       <arg value="-name '*.java'"/>
     31      <arg value="-name"/>
     32      <arg value="*.java"/>
    3233    </exec>
    3334
     
    3637    </exec>
    3738  </target>
    38  
     39
    3940  <target name="build" depends="josm.pot">
     41    <copy file="i18n.properties" todir="build/org/openstreetmap/josm" />
     42
    4043    <ant target="build-lang"><property name="language" value="de"/></ant>
    4144    <ant target="build-lang"><property name="language" value="en_GB"/></ant>
     
    4649    <ant target="build-lang"><property name="language" value="ru"/></ant>
    4750    <ant target="build-lang"><property name="language" value="sl"/></ant>
    48    
    49     <copy file="i18n.properties" todir="build/org/openstreetmap/josm" />
    50    
     51
    5152    <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
    5253      <env key="LANG" value="C"/>
     
    5758    <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
    5859    <delete file="REVISION"/>
    59    
     60
    6061    <jar destfile="${i18n.jar}" basedir="build">
    6162      <manifest>
    6263        <attribute name="Extension-Name" value="JOSM Translation into various languages" />
    63         <attribute name="Translation-Version" value="${version.entry.commit.revision}"/>
    64         <attribute name="Translation-Date" value="${version.entry.commit.date}"/>
     64        <attribute name="Translation-Version" value="${version.entry.commit.revision}"/>
     65        <attribute name="Translation-Date" value="${version.entry.commit.date}"/>
    6566      </manifest>
    66     </jar>   
     67    </jar>
    6768
    6869  </target>
    69  
     70
    7071  <target name="build-lang">
    7172    <exec executable="msgmerge">
    7273      <arg line="-U po/${language}.po po/josm.pot"/>
    7374    </exec>
    74    
    75    <exec executable="msgfmt">
     75
     76    <exec executable="msgfmt">
    7677      <arg line="--verbose --java2 -dbuild -rorg.openstreetmap.josm.i18n.Translation -l${language} po/${language}.po"/>
    77    </exec>   
     78    </exec>
    7879  </target>
    79  
     80
    8081  <target name="install" depends="build">
    8182    <copy file="${i18n.jar}" todir="${i18n.install.dir}" />
    8283  </target>
    83  
     84
    8485  <target name="clean">
    8586    <delete dir="${i18n.build.dir}" />
    8687    <delete file="po/josm.pot"/>
    8788    <delete file="presets.java"/>
    88     <delete file="validator.java"/>   
     89    <delete file="validator.java"/>
    8990    <delete file="java_sourcefiles.txt"/>
    9091  </target>
  • applications/editors/josm/i18n/po

    • Property svn:ignore set to
      josm.pot
Note: See TracChangeset for help on using the changeset viewer.