Ignore:
Timestamp:
2007-10-24T07:31:46+02:00 (17 years ago)
Author:
joerg
Message:

josm/plugins: reindent build Files, sort plugin build order

File:
1 edited

Legend:

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

    r3788 r5147  
    11<project name="waypoints" default="build" basedir=".">
    22
    3         <!-- point to your JOSM directory -->
    4         <property name="josm" location="../../core/dist/josm-custom.jar" />
     3  <!-- point to your JOSM directory -->
     4  <property name="josm" location="../../core/dist/josm-custom.jar" />
    55
    66
    77
    8         <target name="init">
    9                 <mkdir dir="build"></mkdir>
    10                 <mkdir dir="dist"></mkdir>
    11         </target>
     8  <target name="init">
     9    <mkdir dir="build"></mkdir>
     10    <mkdir dir="dist"></mkdir>
     11  </target>
    1212
    13         <target name="compile" depends="init">
    14                 <javac srcdir="src" classpath="${josm}" destdir="build" debug="true">
    15                         <include name="**/*.java" />
    16                 </javac>
    17         </target>
     13  <target name="compile" depends="init">
     14    <javac srcdir="src" classpath="${josm}" destdir="build" debug="true">
     15      <include name="**/*.java" />
     16    </javac>
     17  </target>
    1818
    19         <target name="build" depends="compile">
    20                         <!--
    21                 <copy todir="build/images">
    22                         <fileset dir="images"></fileset>
    23                 </copy>
    24                 -->
    25                 <jar destfile="dist/waypoints.jar" basedir="build">
    26                         <manifest>
    27                                 <attribute name="Plugin-Class" value="waypoints.WaypointPlugin" />
    28                                 <attribute name="Plugin-Description" value="Automatic conversion of waypoints in a GPX file to OSM nodes." />
    29                         </manifest>
    30                 </jar>
    31         </target>
     19  <target name="build" depends="compile">
     20    <!--
     21        <copy todir="build/images">
     22          <fileset dir="images"></fileset>
     23        </copy>
     24        -->
     25    <jar destfile="dist/waypoints.jar" basedir="build">
     26      <manifest>
     27        <attribute name="Plugin-Class" value="waypoints.WaypointPlugin" />
     28        <attribute name="Plugin-Description" value="Automatic conversion of waypoints in a GPX file to OSM nodes." />
     29      </manifest>
     30    </jar>
     31  </target>
    3232
    33         <target name="clean">
    34                 <delete dir="build" />
    35                 <delete dir="dist" />
    36         </target>
     33  <target name="clean">
     34    <delete dir="build" />
     35    <delete dir="dist" />
     36  </target>
    3737
    38         <target name="install" depends="build">
    39                 <copy file="dist/waypoints.jar" todir="${user.home}/.josm/plugins"/>
    40         </target>
     38  <target name="install" depends="build">
     39    <copy file="dist/waypoints.jar" todir="${user.home}/.josm/plugins"/>
     40  </target>
    4141
    4242</project>
Note: See TracChangeset for help on using the changeset viewer.