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/ElevationProfile
Files:
26 added
1 edited

Legend:

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

    r25192 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.
     
    2626      ** should not be necessary to change the following properties
    2727     -->
    28         <property name="josm"          location="../../core/dist/josm-custom.jar"/>
    29         <property name="josm_stable"  location="../../core/dist/3529/josm-tested.jar"/>
    30     <property name="plugin.build.dir"       value="build"/>
    31     <property name="plugin.src.dir"         value="src"/>
     28    <property name="josm" location="../../core/dist/josm-custom.jar"/>
     29    <property name="josm_stable" location="../../core/dist/3529/josm-tested.jar"/>
     30    <property name="plugin.build.dir" value="build"/>
     31    <property name="plugin.src.dir" value="src"/>
    3232    <!-- this is the directory where the plugin jar is copied to -->
    3333    <property name="ant.build.javac.target" value="1.5"/>
    34     <property name="plugin.dist.dir"        value="../../dist"/>
    35     <property name="plugin.jar"             value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    36 
     34    <property name="plugin.dist.dir" value="../../dist"/>
     35    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    3736    <!--
    3837    **********************************************************
     
    4342        <mkdir dir="${plugin.build.dir}"/>
    4443    </target>
    45 
    4644    <!--
    4745    **********************************************************
     
    5654        </javac>
    5755    </target>
    58 
    5956    <!--
    6057    **********************************************************
     
    6360    -->
    6461    <target name="dist" depends="compile,revision">
    65         <condition property="josm.dist.dir" value="../../dist" else="dist">
    66                             <and>
    67                                 <os family="windows"/>
    68                             </and>
    69                         </condition>
    70         <mkdir dir="${plugin.dist.dir}"/>
     62        <condition property="josm.dist.dir" value="../../dist" else="dist">
     63            <and>
     64                <os family="windows"/>
     65            </and>
     66        </condition>
     67        <mkdir dir="${plugin.dist.dir}"/>
    7168        <echo message="creating ${plugin.jar} ... "/>
    72         <!--
    73         <copy todir="${plugin.build.dir}/resources">
    74             <fileset dir="resources"/>
    75         </copy>
    76         -->       
    7769        <copy todir="${plugin.build.dir}/images">
    7870            <fileset dir="images"/>
    7971        </copy>
     72        <copy todir="${plugin.build.dir}/data">
     73            <fileset dir="data"/>
     74        </copy>
    8075        <copy todir="${plugin.build.dir}">
    8176            <fileset dir=".">
    82                 <include name="README" />
    83                 <include name="LICENSE" />
     77                <include name="README"/>
     78                <include name="LICENSE"/>
    8479            </fileset>
    8580        </copy>
    8681        <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
    87     <!--
     82            <!--
    8883        ************************************************
    8984        ** configure these properties. Most of them will be copied to the plugins
     
    9893                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    9994                <attribute name="Plugin-Description" value="Shows the elevation profile and some statistical data of a GPX track."/>
    100                 <attribute name="de_Plugin-Description" value="Zeigt das Höhenprofil und statistische Werte eines GPX-Tracks."/>
     95                <attribute name="de_Plugin-Description" value="Zeigt das Höhenprofil und statistische Werte eines GPX-Tracks."/>
    10196                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/ElevationProfile"/>
    10297                <attribute name="Plugin-Mainversion" value="3835"/>
    10398                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    104                 <attribute name="Plugin-Icon" value="images/elevation.png"/>
     99                <attribute name="Plugin-Icon" value="images/elevation.png"/>
    105100            </manifest>
    106         </jar>       
     101        </jar>
    107102    </target>
    108 
    109103    <!--
    110104    **********************************************************
     
    115109    -->
    116110    <target name="revision">
    117                 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
    118                     <env key="LANG" value="C"/>
    119                     <arg value="info"/>
    120                     <arg value="--xml"/>
    121                     <arg value="build.xml"/>
    122                 </exec>
    123         <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
    124         <echo message="Revision: ${version.entry.commit.revision}"/>
    125         <delete file="REVISION"/>
    126         </target>
    127 
     111        <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
     112            <env key="LANG" value="C"/>
     113            <arg value="info"/>
     114            <arg value="--xml"/>
     115            <arg value="build.xml"/>
     116        </exec>
     117        <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
     118        <echo message="Revision: ${version.entry.commit.revision}"/>
     119        <delete file="REVISION"/>
     120    </target>
    128121    <!--
    129122    **********************************************************
     
    135128        <delete file="${plugin.jar}"/>
    136129    </target>
    137 
    138130    <!--
    139131    **********************************************************
     
    147139                <os family="windows"/>
    148140            </and>
    149         </condition>           
     141        </condition>
    150142        <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/>
    151143    </target>
Note: See TracChangeset for help on using the changeset viewer.