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/ColumbusCSV/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 -->
    33     <property name="plugin.dist.dir"        value="../../dist"/>
     33    <property name="plugin.dist.dir" value="../../dist"/>
    3434    <property name="ant.build.javac.target" value="1.5"/>
    35     <property name="plugin.jar"             value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    36 
     35    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    3736    <!--
    3837    **********************************************************
     
    4140    -->
    4241    <target name="init">
    43         <mkdir dir="${plugin.build.dir}"/>     
     42        <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         <mkdir dir="${plugin.dist.dir}"/>
     62        <mkdir dir="${plugin.dist.dir}"/>
    6663        <echo message="creating ${plugin.jar} ... "/>
    6764        <copy todir="${plugin.build.dir}/resources">
     
    7168            <fileset dir="images"/>
    7269        </copy>
     70        <copy todir="${plugin.build.dir}/data">
     71            <fileset dir="data"/>
     72        </copy>
    7373        <copy todir="${plugin.build.dir}">
    7474            <fileset dir=".">
    75                 <include name="README" />
    76                 <include name="LICENSE" />
     75                <include name="README"/>
     76                <include name="LICENSE"/>
    7777            </fileset>
    7878        </copy>
    7979        <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
    80     <!--
     80            <!--
    8181        ************************************************
    8282        ** configure these properties. Most of them will be copied to the plugins
     
    9191                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    9292                <attribute name="Plugin-Description" value="Imports proprietary CSV files of the Columbus/Visiontac V-900 GPS logger into a GPX layer."/>
    93                 <attribute name="de_Plugin-Description" value="Importiert die CSV-Dateien des Columbus/Visiontac V-900 GPS Loggers in GPX-Daten."/>
     93                <attribute name="de_Plugin-Description" value="Importiert die CSV-Dateien des Columbus/Visiontac V-900 GPS Loggers in GPX-Daten."/>
    9494                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/ColumbusCSV"/>
    9595                <attribute name="Plugin-Mainversion" value="3835"/>
    9696                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    97                 <attribute name="Plugin-Icon" value="images/colcsvicon.png"/>
     97                <attribute name="Plugin-Icon" value="images/colcsvicon.png"/>
    9898            </manifest>
    99         </jar>       
     99        </jar>
    100100    </target>
    101 
    102101    <!--
    103102    **********************************************************
     
    108107    -->
    109108    <target name="revision">
    110                 <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
    111                     <env key="LANG" value="C"/>
    112                     <arg value="info"/>
    113                     <arg value="--xml"/>
    114                     <arg value="build.xml"/>
    115                 </exec>
    116         <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
    117         <echo message="Revision: ${version.entry.commit.revision}"/>
    118         <delete file="REVISION"/>
    119         </target>
    120 
     109        <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
     110            <env key="LANG" value="C"/>
     111            <arg value="info"/>
     112            <arg value="--xml"/>
     113            <arg value="build.xml"/>
     114        </exec>
     115        <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
     116        <echo message="Revision: ${version.entry.commit.revision}"/>
     117        <delete file="REVISION"/>
     118    </target>
    121119    <!--
    122120    **********************************************************
     
    128126        <delete file="${plugin.jar}"/>
    129127    </target>
    130 
    131128    <!--
    132129    **********************************************************
Note: See TracChangeset for help on using the changeset viewer.