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

    r5017 r5147  
    88  <property name="plugin.jar" value="${plugin.name}.jar"/>
    99 
    10         <!-- point to your JOSM directory -->
    11         <property name="josm" location="${josm.build.dir}/dist/josm-custom.jar" />
     10  <!-- point to your JOSM directory -->
     11  <property name="josm" location="${josm.build.dir}/dist/josm-custom.jar" />
    1212
    1313
    1414
    15         <target name="init">
    16                 <mkdir dir="build"></mkdir>
    17                 <mkdir dir="dist"></mkdir>
    18         </target>
     15  <target name="init">
     16    <mkdir dir="build"></mkdir>
     17    <mkdir dir="dist"></mkdir>
     18  </target>
    1919
    20         <target name="compile" depends="init">
    21                 <javac srcdir="src" classpath="${josm}" debug="true" destdir="build">
    22                         <include name="**/*.java" />
    23                 </javac>
    24         </target>
     20  <target name="compile" depends="init">
     21    <javac srcdir="src" classpath="${josm}" debug="true" destdir="build">
     22      <include name="**/*.java" />
     23    </javac>
     24  </target>
    2525
    26         <target name="build" depends="compile">
    27                 <copy todir="build/images" >
    28                         <fileset dir="images" />
    29                 </copy>
    30                 <jar destfile="${plugin.jar}" basedir="build">
    31                         <manifest>
    32                                 <attribute name="Plugin-Class" value="grid.GridPlugin" />
    33                                 <attribute name="Plugin-Description" value="Provide a background layer that displays a map grid" />
    34                         </manifest>
    35                 </jar>
    36         </target>
     26  <target name="build" depends="compile">
     27    <copy todir="build/images" >
     28      <fileset dir="images" />
     29    </copy>
     30    <jar destfile="${plugin.jar}" basedir="build">
     31      <manifest>
     32        <attribute name="Plugin-Class" value="grid.GridPlugin" />
     33        <attribute name="Plugin-Description" value="Provide a background layer that displays a map grid" />
     34      </manifest>
     35    </jar>
     36  </target>
    3737
    38         <target name="clean">
    39                 <delete dir="build" />
    40                 <delete dir="dist" />
    41                 <delete dir="${plugin.jar}" />
    42         </target>
     38  <target name="clean">
     39    <delete dir="build" />
     40    <delete dir="dist" />
     41    <delete dir="${plugin.jar}" />
     42  </target>
    4343
    44         <target name="install" depends="build">
    45                 <copy file="${plugin.jar}" todir="${user.home}/.josm/plugins"/>
    46         </target>
     44  <target name="install" depends="build">
     45    <copy file="${plugin.jar}" todir="${user.home}/.josm/plugins"/>
     46  </target>
    4747
    4848
Note: See TracChangeset for help on using the changeset viewer.