Ignore:
Timestamp:
2011-06-25T19:02:31+02:00 (14 years ago)
Author:
stoecker
Message:

i18n update, split plugin and core translation

Location:
applications/editors/josm/plugins/irsrectify
Files:
11 added
1 edited

Legend:

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

    r25199 r26174  
    1 <?xml version="1.0" encoding="UTF-8"?>
     1<?xml version="1.0" encoding="utf-8"?>
    22<!--
    33** This is a template build file for a JOSM  plugin.
     
    2929-->
    3030<project name="irsrectify" default="dist" basedir=".">
    31 
    3231    <!-- enter the SVN commit message -->
    33     <property name="commit.message" value="New plugin - irsrectify" />
     32    <property name="commit.message" value="New plugin - irsrectify"/>
    3433    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    35     <property name="plugin.main.version" value="3835" />
    36 
    37 
     34    <property name="plugin.main.version" value="3835"/>
    3835    <!--
    3936      ************************************************
    4037      ** should not be necessary to change the following properties
    4138     -->
    42     <property name="josm"                   location="../../core/dist/josm-custom.jar" />
    43     <property name="plugin.build.dir"       value="build"/>
    44     <property name="plugin.src.dir"         value="src"/>
     39    <property name="josm" location="../../core/dist/josm-custom.jar"/>
     40    <property name="plugin.build.dir" value="build"/>
     41    <property name="plugin.src.dir" value="src"/>
    4542    <!-- this is the directory where the plugin jar is copied to -->
    46     <property name="plugin.dist.dir"        value="../../dist"/>
     43    <property name="plugin.dist.dir" value="../../dist"/>
    4744    <property name="ant.build.javac.target" value="1.5"/>
    48     <property name="plugin.dist.dir"        value="../../dist"/>
    49     <property name="plugin.jar"             value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    50 
     45    <property name="plugin.dist.dir" value="../../dist"/>
     46    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    5147    <!--
    5248    **********************************************************
     
    5753        <mkdir dir="${plugin.build.dir}"/>
    5854    </target>
    59 
    6055    <!--
    6156    **********************************************************
     
    7065        </javac>
    7166    </target>
    72 
    7367    <!--
    7468    **********************************************************
     
    8175            <fileset dir="images"/>
    8276        </copy>
     77        <copy todir="${plugin.build.dir}/data">
     78            <fileset dir="data"/>
     79        </copy>
    8380        <copy todir="${plugin.build.dir}">
    8481            <fileset dir=".">
    85                 <include name="README" />
    86                 <include name="LICENSE" />
     82                <include name="README"/>
     83                <include name="LICENSE"/>
    8784            </fileset>
    8885        </copy>
     
    109106        </jar>
    110107    </target>
    111 
    112108    <!--
    113109    **********************************************************
     
    118114    -->
    119115    <target name="revision">
    120 
    121116        <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
    122117            <env key="LANG" value="C"/>
     
    128123        <delete file="REVISION"/>
    129124    </target>
    130 
    131125    <!--
    132126    **********************************************************
     
    138132        <delete file="${plugin.jar}"/>
    139133    </target>
    140 
    141134    <!--
    142135    **********************************************************
     
    153146        <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/>
    154147    </target>
    155 
    156 
    157148    <!--
    158149    ************************** Publishing the plugin ***********************************
     
    173164        <echo>Building against core revision ${coreversion.info.entry.revision}.</echo>
    174165        <echo>Plugin-Mainversion is set to ${plugin.main.version}.</echo>
    175         <delete file="core.info.xml" />
    176     </target>
    177 
     166        <delete file="core.info.xml"/>
     167    </target>
    178168    <!--
    179169        ** commits the source tree for this plugin
     
    188178        </exec>
    189179    </target>
    190 
    191180    <!--
    192181        ** updates (svn up) the source tree for this plugin
     
    206195        </exec>
    207196    </target>
    208 
    209197    <!--
    210198        ** commits the plugin.jar
     
    228216        </exec>
    229217    </target>
    230 
    231218    <!-- ** make sure svn is present as a command line tool ** -->
    232219    <target name="ensure-svn-present">
    233220        <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false" failonerror="false" resultproperty="svn.exit.code">
    234             <env key="LANG" value="C" />
    235             <arg value="--version" />
     221            <env key="LANG" value="C"/>
     222            <arg value="--version"/>
    236223        </exec>
    237224        <fail message="Fatal: command 'svn --version' failed. Please make sure svn is installed on your system.">
     
    239226            <condition>
    240227                <not>
    241                     <isset property="svn.exit.code" />
     228                    <isset property="svn.exit.code"/>
    242229                </not>
    243230            </condition>
     
    246233            <!-- error code from SVN? Most likely svn is not what we are looking on this system -->
    247234            <condition>
    248                 <isfailure code="${svn.exit.code}" />
     235                <isfailure code="${svn.exit.code}"/>
    249236            </condition>
    250237        </fail>
    251238    </target>
    252 
    253239    <target name="publish" depends="ensure-svn-present,core-info,commit-current,update-current,clean,dist,commit-dist">
    254240    </target>
Note: See TracChangeset for help on using the changeset viewer.