Changeset 6110 in osm for applications/editors/josm


Ignore:
Timestamp:
2007-12-20T06:47:07+01:00 (17 years ago)
Author:
ulf
Message:

fix some settings to generate the lang plugins:

  • msgfmt: "--verbose" to get some more output on failure
  • find: "${plugins}" -> ".."
  • xgettext: "--from-code=UTF-8" to avoid errors caused by UTF8 source files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/lang/build.xml

    r6100 r6110  
    3232
    3333    <exec executable="msgfmt">
    34       <arg line="--java2 -d${language}/build -rorg.openstreetmap.josm.Translation -l${language} ${language}/${language}.po"/>
     34      <arg line="--verbose --java2 -d${language}/build -rorg.openstreetmap.josm.Translation -l${language} ${language}/${language}.po"/>
    3535    </exec>
    3636
     
    5454  <target name="keys.pot">
    5555    <exec executable="find" output="alljava.txt">
    56       <arg line="${josm.build.dir}/src ${plugins} -name '*.java'"/>
     56      <arg line="${josm.build.dir}/src .. -name '*.java'"/>
    5757    </exec>
    5858
    5959    <exec executable="xgettext">
    60       <arg line="-ktr -ktrn:1,2 -ktrc -kmarktr -Ljava -okeys.pot -falljava.txt"/>
     60      <arg line="-ktr -ktrn:1,2 -ktrc -kmarktr -Ljava --from-code=UTF-8 -okeys.pot -falljava.txt"/>
    6161    </exec>
    6262  </target>
Note: See TracChangeset for help on using the changeset viewer.