Ignore:
Timestamp:
2016-06-18T15:40:14+02:00 (8 years ago)
Author:
donvip
Message:

add checkstyle and findbugs targets for josm plugins

File:
1 edited

Legend:

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

    r32306 r32310  
    77        <ant dir="../core" target="test-compile"/>
    88    </target>
    9         <property name="ordered_plugins" value="jna/build.xml
    10                                                                                         jts/build.xml
    11                                                                                         gson/build.xml
    12                                                                                         ejml/build.xml
    13                                                                                         geotools/build.xml
    14                                                                                         utilsplugin2/build.xml
    15                                                                                         log4j/build.xml
    16                                                                                         apache-commons/build.xml
    17                                                                                         apache-http/build.xml"/>
    18         <macrodef name="iterate">
    19                 <attribute name="target"/>
    20                 <sequential>
    21                         <subant target="@{target}">
    22                                 <filelist dir="." files="${ordered_plugins}"/>
    23                                 <fileset  dir="." includes="*/build.xml" excludes="00_*/build.xml ${ordered_plugins}"/>
    24                         </subant>
    25                 </sequential>
    26         </macrodef>
    27         <target name="clean">
    28                 <iterate target="clean"/>
    29         </target>
    30         <target name="dist" depends="compile_josm">
     9    <property name="ordered_plugins" value="jna/build.xml
     10                                            jts/build.xml
     11                                            gson/build.xml
     12                                            ejml/build.xml
     13                                            geotools/build.xml
     14                                            utilsplugin2/build.xml
     15                                            log4j/build.xml
     16                                            apache-commons/build.xml
     17                                            apache-http/build.xml"/>
     18    <macrodef name="iterate">
     19        <attribute name="target"/>
     20        <sequential>
     21            <subant target="@{target}">
     22                <filelist dir="." files="${ordered_plugins}"/>
     23                <fileset  dir="." includes="*/build.xml" excludes="00_*/build.xml ${ordered_plugins}"/>
     24            </subant>
     25        </sequential>
     26    </macrodef>
     27    <target name="clean">
     28        <iterate target="clean"/>
     29    </target>
     30    <target name="dist" depends="compile_josm">
    3131        <mkdir dir="../dist"/>
    32                 <iterate target="dist"/>
    33         </target>
    34         <target name="install" depends="dist">
    35                 <iterate target="install"/>
    36         </target>
    37         <target name="test" depends="compile_josm_test">
    38                 <iterate target="test"/>
    39         </target>
     32        <iterate target="dist"/>
     33    </target>
     34    <target name="install" depends="dist">
     35        <iterate target="install"/>
     36    </target>
     37    <target name="test" depends="compile_josm_test">
     38        <iterate target="test"/>
     39    </target>
     40    <target name="checkstyle">
     41        <iterate target="checkstyle"/>
     42    </target>
     43    <target name="findbugs">
     44        <iterate target="findbugs"/>
     45    </target>
    4046</project>
Note: See TracChangeset for help on using the changeset viewer.