<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="cadastre-fr"/>
        <ant antfile="build.xml" target="dist" dir="colorscheme"/>
        <ant antfile="build.xml" target="dist" dir="Create_grid_of_ways"/>
        <ant antfile="build.xml" target="dist" dir="DirectUpload"/>
        <ant antfile="build.xml" target="dist" dir="editgpx"/>
        <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="openlayers"/>
        <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="routing"/>
        <ant antfile="build.xml" target="dist" dir="slippymap"/>
        <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="tageditor"/>
        <ant antfile="build.xml" target="dist" dir="tcxplugin"/>
        <ant antfile="build.xml" target="dist" dir="terracer"/>
        <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="waydownloader"/>
        <ant antfile="build.xml" target="dist" dir="piclayer"/>
        <ant antfile="build.xml" target="dist" dir="czechaddress"/>
        <ant antfile="build.xml" target="dist" dir="duplicateway"/>
        <ant antfile="build.xml" target="dist" dir="grid"/>
    </target>
    <target name="clean">
        <ant antfile="build.xml" target="clean" dir="agpifoj"/>
        <ant antfile="build.xml" target="clean" dir="cadastre-fr"/>
        <ant antfile="build.xml" target="clean" dir="colorscheme"/>
        <ant antfile="build.xml" target="clean" dir="Create_grid_of_ways"/>
        <ant antfile="build.xml" target="clean" dir="czechaddress"/>
        <ant antfile="build.xml" target="clean" dir="DirectUpload"/>
        <ant antfile="build.xml" target="clean" dir="duplicateway"/>
        <ant antfile="build.xml" target="clean" dir="editgpx"/>
        <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="nearclick"/>
        <ant antfile="build.xml" target="clean" dir="openlayers"/>
        <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="piclayer"/>
        <ant antfile="build.xml" target="clean" dir="plastic_laf"/>
        <ant antfile="build.xml" target="clean" dir="remotecontrol"/>
        <ant antfile="build.xml" target="clean" dir="routing"/>
        <ant antfile="build.xml" target="clean" dir="slippymap"/>
        <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="tageditor"/>
        <ant antfile="build.xml" target="clean" dir="tcxplugin"/>
        <ant antfile="build.xml" target="clean" dir="terracer"/>
        <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="waydownloader"/>
        <ant antfile="build.xml" target="clean" dir="wmsplugin"/>
    </target>
    <target name="clean_install"></target>
    <target name="install" depends="dist"></target>
</project>
