Ignore:
Timestamp:
2009-01-01T18:55:45+01:00 (16 years ago)
Author:
stoecker
Message:

removed tab stop usage

File:
1 edited

Legend:

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

    r12588 r12780  
    11<project name="remotecontrol" default="dist" basedir=".">
    2 
    3   <!-- compilation properties -->
    4   <property name="josm.build.dir"       value="../../core"/>
    5   <property name="josm.home.dir"        value="${user.home}/.josm"/>
    6   <property name="josm"                 location="../../core/dist/josm-custom.jar" />
    7   <property name="plugin.build.dir"     value="build"/>
    8   <property name="plugin.dist.dir"      value="../../dist"/>
    9   <property name="plugin.name"          value="${ant.project.name}"/>
    10   <property name="plugin.jar"           value="../../dist/${plugin.name}.jar"/>
    11 
    12   <property name="ant.build.javac.target" value="1.5"/>
    13  
    14   <target name="init">
    15     <mkdir dir="${plugin.build.dir}"/>
    16   </target>
    17 
    18   <target name="compile" depends="init">
    19     <echo message="creating ${plugin.jar}"/>
    20     <javac srcdir="src" classpath="${josm}" destdir="build" debug="true">
    21       <include name="**/*.java" />
    22     </javac>
    23   </target>
    24 
    25   <target name="dist" depends="compile">
    26     <copy todir="${plugin.build.dir}/images">
    27       <fileset dir="images"/>
    28     </copy>
    29     <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
    30       <env key="LANG" value="C"/>
    31       <arg value="info"/>
    32       <arg value="--xml"/>
    33       <arg value="."/>
    34     </exec>
    35     <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
    36     <delete file="REVISION"/>
    37     <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
    38       <manifest>
    39         <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.remotecontrol.RemoteControlPlugin"/>
    40         <attribute name="Plugin-Description" value="A plugin allowing other applications to send commands to JOSM." />
    41         <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    42         <attribute name="Plugin-Mainversion" value="1180"/>
    43         <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    44         <attribute name="Author" value="Frederik Ramm &lt;frederik@remote.org&gt;"/>
    45       </manifest>
    46     </jar>
    47   </target>
    48 
    49   <target name="clean">
    50     <delete dir="${plugin.build.dir}" />
    51     <delete file="${plugin.jar}" />
    52   </target>
    53  
    54   <target name="install" depends="dist">
    55     <copy file="${plugin.jar}" todir="${user.home}/.josm/plugins"/>
    56   </target>
    57 
    58   <target name="test" depends="install">
    59     <java jar="${josm}" fork="true"/>
    60   </target>
    61 
     2<!-- compilation properties -->
     3    <property name="josm.build.dir"   value="../../core"/>
     4    <property name="josm.home.dir"    value="${user.home}/.josm"/>
     5    <property name="josm"         location="../../core/dist/josm-custom.jar" />
     6    <property name="plugin.build.dir" value="build"/>
     7    <property name="plugin.dist.dir"  value="../../dist"/>
     8    <property name="plugin.name"      value="${ant.project.name}"/>
     9    <property name="plugin.jar"       value="../../dist/${plugin.name}.jar"/>
     10    <property name="ant.build.javac.target" value="1.5"/>
     11    <target name="init">
     12        <mkdir dir="${plugin.build.dir}"/>
     13    </target>
     14    <target name="compile" depends="init">
     15        <echo message="creating ${plugin.jar}"/>
     16        <javac srcdir="src" classpath="${josm}" destdir="build" debug="true">
     17            <include name="**/*.java" />
     18        </javac>
     19    </target>
     20    <target name="dist" depends="compile">
     21        <copy todir="${plugin.build.dir}/images">
     22            <fileset dir="images"/>
     23        </copy>
     24        <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
     25            <env key="LANG" value="C"/>
     26            <arg value="info"/>
     27            <arg value="--xml"/>
     28            <arg value="."/>
     29        </exec>
     30        <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
     31        <delete file="REVISION"/>
     32        <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
     33            <manifest>
     34                <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.remotecontrol.RemoteControlPlugin"/>
     35                <attribute name="Plugin-Description" value="A plugin allowing other applications to send commands to JOSM." />
     36                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
     37                <attribute name="Plugin-Mainversion" value="1180"/>
     38                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
     39                <attribute name="Author" value="Frederik Ramm &lt;frederik@remote.org&gt;"/>
     40            </manifest>
     41        </jar>
     42    </target>
     43    <target name="clean">
     44        <delete dir="${plugin.build.dir}" />
     45        <delete file="${plugin.jar}" />
     46    </target>
     47    <target name="install" depends="dist">
     48        <copy file="${plugin.jar}" todir="${user.home}/.josm/plugins"/>
     49    </target>
     50    <target name="test" depends="install">
     51        <java jar="${josm}" fork="true"/>
     52    </target>
    6253</project>
Note: See TracChangeset for help on using the changeset viewer.