<project name="josm-plugins" default="build" basedir=".">
    <target name="compile_josm">
        <ant dir="../core" target="dist" />
    </target>
    <target name="compile" depends="compile_josm"></target>
    <target name="build" depends="dist"></target>
    <target name="dist" depends="compile">
        <mkdir dir="../dist"/>
        <ant antfile="build.xml" target="dist" dir="agpifoj"/>
        <ant antfile="build.xml" target="dist" dir="colorscheme"/>
        <ant antfile="build.xml" target="dist" dir="DirectUpload"/>
        <ant antfile="build.xml" target="dist" dir="globalsat"/>
        <ant antfile="build.xml" target="dist" dir="imagewaypoint"/>
        <ant antfile="build.xml" target="dist" dir="lakewalker"/>
        <ant antfile="build.xml" target="dist" dir="livegps"/>
        <ant antfile="build.xml" target="dist" dir="measurement"/>
        <ant antfile="build.xml" target="dist" dir="nearclick"/>
        <ant antfile="build.xml" target="dist" dir="openstreetbugs"/>
        <ant antfile="build.xml" target="dist" dir="openvisible"/>
        <ant antfile="build.xml" target="dist" dir="osmarender"/>
        <ant antfile="build.xml" target="dist" dir="plastic_laf"/>
        <ant antfile="build.xml" target="dist" dir="remotecontrol"/>
        <ant antfile="build.xml" target="dist" dir="slippymap"/>
        <ant antfile="build.xml" target="dist" dir="slippy_map_chooser"/>
        <ant antfile="build.xml" target="dist" dir="surveyor"/>
        <ant antfile="build.xml" target="dist" dir="tagging-preset-tester"/>
        <ant antfile="build.xml" target="dist" dir="tcxplugin"/>
        <ant antfile="build.xml" target="dist" dir="usertools"/>
        <ant antfile="build.xml" target="dist" dir="utilsplugin"/>
        <ant antfile="build.xml" target="dist" dir="validator"/>
        <ant antfile="build.xml" target="dist" dir="wmsplugin"/>
    </target>
    <target name="build_defect" depends="compile">
        <ant antfile="build.xml" target="dist" dir="duplicateway"/>
        <ant antfile="build.xml" target="dist" dir="grid"/>
        <ant antfile="build.xml" target="dist" dir="navigator"/>
        <ant antfile="build.xml" target="dist" dir="pluginmanager"/>
    </target>
    <target name="clean">
        <ant antfile="build.xml" target="clean" dir="agpifoj"/>
        <ant antfile="build.xml" target="clean" dir="colorscheme"/>
        <ant antfile="build.xml" target="clean" dir="duplicateway"/>
        <ant antfile="build.xml" target="clean" dir="globalsat"/>
        <ant antfile="build.xml" target="clean" dir="grid"/>
        <ant antfile="build.xml" target="clean" dir="imagewaypoint"/>
        <ant antfile="build.xml" target="clean" dir="lakewalker"/>
        <ant antfile="build.xml" target="clean" dir="livegps"/>
        <ant antfile="build.xml" target="clean" dir="measurement"/>
        <ant antfile="build.xml" target="clean" dir="navigator"/>
        <ant antfile="build.xml" target="clean" dir="nearclick"/>
        <ant antfile="build.xml" target="clean" dir="openstreetbugs"/>
        <ant antfile="build.xml" target="clean" dir="openvisible"/>
        <ant antfile="build.xml" target="clean" dir="osmarender"/>
        <ant antfile="build.xml" target="clean" dir="plastic_laf"/>
        <ant antfile="build.xml" target="clean" dir="pluginmanager"/>
        <ant antfile="build.xml" target="clean" dir="remotecontrol"/>
        <ant antfile="build.xml" target="clean" dir="slippymap"/>
        <ant antfile="build.xml" target="clean" dir="slippy_map_chooser"/>
        <ant antfile="build.xml" target="clean" dir="surveyor"/>
        <ant antfile="build.xml" target="clean" dir="tagging-preset-tester"/>
        <ant antfile="build.xml" target="clean" dir="tcxplugin"/>
        <ant antfile="build.xml" target="clean" dir="usertools"/>
        <ant antfile="build.xml" target="clean" dir="utilsplugin"/>
        <ant antfile="build.xml" target="clean" dir="validator"/>
        <ant antfile="build.xml" target="clean" dir="wmsplugin"/>
    </target>
    <target name="clean_install"></target>
    <target name="install" depends="dist"></target>
</project>
