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

i18n update, split plugin and core translation

File:
1 edited

Legend:

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

    r25199 r26174  
    1 <?xml version="1.0" encoding="UTF-8"?>
     1<?xml version="1.0" encoding="utf-8"?>
    22<project name="CommandLine" default="dist" basedir=".">
    3 
    43    <!-- enter the SVN commit message -->
    5     <property name="commit.message" value="Moar bugfixes" />
     4    <property name="commit.message" value="Moar bugfixes"/>
    65    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="3835" />
    8 
    9 
     6    <property name="plugin.main.version" value="3835"/>
    107    <!--
    118      ************************************************
    129      ** should not be necessary to change the following properties
    1310     -->
    14     <property name="josm"                   location="../../core/dist/josm-custom.jar"/>
    15     <property name="plugin.build.dir"       value="build"/>
    16     <property name="plugin.src.dir"         value="src"/>
     11    <property name="josm" location="../../core/dist/josm-custom.jar"/>
     12    <property name="plugin.build.dir" value="build"/>
     13    <property name="plugin.src.dir" value="src"/>
    1714    <!-- this is the directory where the plugin jar is copied to -->
    18     <property name="plugin.dist.dir"        value="../../dist"/>
     15    <property name="plugin.dist.dir" value="../../dist"/>
    1916    <property name="ant.build.javac.target" value="1.5"/>
    20     <property name="plugin.dist.dir"        value="../../dist"/>
    21     <property name="plugin.jar"             value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    22 
     17    <property name="plugin.dist.dir" value="../../dist"/>
     18    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    2319    <!--
    2420    **********************************************************
     
    2925        <mkdir dir="${plugin.build.dir}"/>
    3026    </target>
    31 
    3227    <!--
    3328    **********************************************************
     
    4237        </javac>
    4338    </target>
    44 
    4539    <!--
    4640    **********************************************************
     
    5650            <fileset dir="images"/>
    5751        </copy>
     52        <copy todir="${plugin.build.dir}/data">
     53            <fileset dir="data"/>
     54        </copy>
    5855        <copy todir="${plugin.build.dir}">
    5956            <fileset dir=".">
    60                 <include name="README" />
    61                 <include name="LICENSE" />
     57                <include name="README"/>
     58                <include name="LICENSE"/>
    6259            </fileset>
    6360        </copy>
     
    8582        </jar>
    8683    </target>
    87 
    8884    <!--
    8985    **********************************************************
     
    9490    -->
    9591    <target name="revision">
    96 
    9792        <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
    9893            <env key="LANG" value="C"/>
     
    10499        <delete file="REVISION"/>
    105100    </target>
    106 
    107101    <!--
    108102    **********************************************************
     
    114108        <delete file="${plugin.jar}"/>
    115109    </target>
    116 
    117110    <!--
    118111    **********************************************************
     
    129122        <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/>
    130123    </target>
    131 
    132 
    133124    <!--
    134125    ************************** Publishing the plugin ***********************************
     
    149140        <echo>Building against core revision ${coreversion.info.entry.revision}.</echo>
    150141        <echo>Plugin-Mainversion is set to ${plugin.main.version}.</echo>
    151         <delete file="core.info.xml" />
    152     </target>
    153 
     142        <delete file="core.info.xml"/>
     143    </target>
    154144    <!--
    155145        ** commits the source tree for this plugin
     
    164154        </exec>
    165155    </target>
    166 
    167156    <!--
    168157        ** updates (svn up) the source tree for this plugin
     
    182171        </exec>
    183172    </target>
    184 
    185173    <!--
    186174        ** commits the plugin.jar
     
    204192        </exec>
    205193    </target>
    206 
    207194    <!-- ** make sure svn is present as a command line tool ** -->
    208195    <target name="ensure-svn-present">
    209196        <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false" failonerror="false" resultproperty="svn.exit.code">
    210             <env key="LANG" value="C" />
    211             <arg value="--version" />
     197            <env key="LANG" value="C"/>
     198            <arg value="--version"/>
    212199        </exec>
    213200        <fail message="Fatal: command 'svn --version' failed. Please make sure svn is installed on your system.">
     
    215202            <condition>
    216203                <not>
    217                     <isset property="svn.exit.code" />
     204                    <isset property="svn.exit.code"/>
    218205                </not>
    219206            </condition>
     
    222209            <!-- error code from SVN? Most likely svn is not what we are looking on this system -->
    223210            <condition>
    224                 <isfailure code="${svn.exit.code}" />
     211                <isfailure code="${svn.exit.code}"/>
    225212            </condition>
    226213        </fail>
    227214    </target>
    228 
    229215    <target name="publish" depends="ensure-svn-present,core-info,commit-current,update-current,clean,dist,commit-dist">
    230216    </target>
Note: See TracChangeset for help on using the changeset viewer.