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/importvec/build.xml

    r25469 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="importvec" default="dist" basedir=".">
    31 
    3231    <!-- enter the SVN commit message -->
    33     <property name="commit.message" value="Commit message" />
     32    <property name="commit.message" value="Commit message"/>
    3433    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    35     <property name="plugin.main.version" value="3922" />
    36 
    37 
     34    <property name="plugin.main.version" value="3922"/>
    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    **********************************************************
     
    8478            <fileset dir="images"/>
    8579        </copy>
     80        <copy todir="${plugin.build.dir}/data">
     81            <fileset dir="data"/>
     82        </copy>
    8683        <copy todir="${plugin.build.dir}">
    8784            <fileset dir=".">
    88                 <include name="README" />
    89                 <include name="LICENSE" />
     85                <include name="README"/>
     86                <include name="LICENSE"/>
    9087            </fileset>
    9188        </copy>
     
    111108        </jar>
    112109    </target>
    113 
    114110    <!--
    115111    **********************************************************
     
    120116    -->
    121117    <target name="revision">
    122 
    123118        <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
    124119            <env key="LANG" value="C"/>
     
    130125        <delete file="REVISION"/>
    131126    </target>
    132 
    133127    <!--
    134128    **********************************************************
     
    140134        <delete file="${plugin.jar}"/>
    141135    </target>
    142 
    143136    <!--
    144137    **********************************************************
     
    155148        <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/>
    156149    </target>
    157 
    158 
    159150    <!--
    160151    ************************** Publishing the plugin ***********************************
     
    175166        <echo>Building against core revision ${coreversion.info.entry.revision}.</echo>
    176167        <echo>Plugin-Mainversion is set to ${plugin.main.version}.</echo>
    177         <delete file="core.info.xml" />
    178     </target>
    179 
     168        <delete file="core.info.xml"/>
     169    </target>
    180170    <!--
    181171        ** commits the source tree for this plugin
     
    190180        </exec>
    191181    </target>
    192 
    193182    <!--
    194183        ** updates (svn up) the source tree for this plugin
     
    208197        </exec>
    209198    </target>
    210 
    211199    <!--
    212200        ** commits the plugin.jar
     
    230218        </exec>
    231219    </target>
    232 
    233220    <!-- ** make sure svn is present as a command line tool ** -->
    234221    <target name="ensure-svn-present">
    235222        <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false" failonerror="false" resultproperty="svn.exit.code">
    236             <env key="LANG" value="C" />
    237             <arg value="--version" />
     223            <env key="LANG" value="C"/>
     224            <arg value="--version"/>
    238225        </exec>
    239226        <fail message="Fatal: command 'svn --version' failed. Please make sure svn is installed on your system.">
     
    241228            <condition>
    242229                <not>
    243                     <isset property="svn.exit.code" />
     230                    <isset property="svn.exit.code"/>
    244231                </not>
    245232            </condition>
     
    248235            <!-- error code from SVN? Most likely svn is not what we are looking on this system -->
    249236            <condition>
    250                 <isfailure code="${svn.exit.code}" />
     237                <isfailure code="${svn.exit.code}"/>
    251238            </condition>
    252239        </fail>
    253240    </target>
    254 
    255241    <target name="publish" depends="ensure-svn-present,core-info,commit-current,update-current,clean,dist,commit-dist">
    256242    </target>
Note: See TracChangeset for help on using the changeset viewer.