<project name="josm-plugins" default="build" basedir=".">

	<!-- There's no josm.jar in the svn, so point "josm" to a local copy of your JOSM binary -->
	<!--<property name="josm" location="../../../../editors/josm/dist/josm-custom.jar" />-->
	<!--<property name="josm" location="../josm/josm-latest.jar" ></property>-->
	
	<!-- target directory to place the plugin in -->
	<!-- Windows has a different home directory scheme then unix/linux -->
	<!-- I don't know an automatic way to find it with ant :-(, if you know, please fix -->
	<!--<property name="plugins" location="${user.home}/.josm/plugins" ></property>-->
	<!--<property name="plugins" location="${user.home}/Anwendungsdaten/JOSM/plugins" ></property>-->

	<!-- you should not need to modify anything below this! -->


	<target name="compile_josm">
		<ant dir="../core" target="dist" />
	</target>

	<target name="compile" depends="compile_josm">
	</target>

	<target name="build" depends="compile">
		<ant	dir="colorscheme"	antfile="build.xml"	target="dist"/>
	<!--ant	dir="grid"	antfile="build.xml"	target="build"/-->
		<ant	dir="lang"	antfile="build.xml"	target="install-all"/>
		<ant	dir="livegps"	antfile="build.xml"	target="dist"/>
		<ant	dir="mappaint"	antfile="build.xml"	target="build"/>
		<ant	dir="namefinder"	antfile="build.xml"	target="dist"/>
	<!-- ant	dir="navigator"	antfile="build.xml"	target="dist"/ -->
		<ant	dir="nearclick"	antfile="build.xml"	target="build"/>
		<ant	dir="osmarender"	antfile="build.xml"	target="build"/>
		<ant	dir="plastic_laf"	antfile="build.xml"	target="build"/>
	<!-- ant	dir="pluginmanager"	antfile="build.xml"	target="dist"/ --> 
		<ant	dir="slippymap"	antfile="build.xml"	target="dist"/>
	<!-- ant	dir="surveyor"	antfile="build.xml"	target="dist"/ -->
		<ant	dir="tagging-preset-tester"	antfile="build.xml"	target="build"/>
	<!-- ant	dir="tways"	antfile="build.xml"	target="build"/ --> 
		<ant	dir="validator"	antfile="build.xml"	target="build"/>
	<!-- ant	dir="waypoints"	antfile="build.xml"	target="build"/ -->
		<ant	dir="wmsplugin"	antfile="build.xml"	target="build"/>
		<ant	dir="ywms"	antfile="build.xml"	target="build"/>
	</target>

	<target name="clean">
		<ant	dir="colorscheme"	antfile="build.xml"	target="clean"/>
		<ant	dir="grid"	antfile="build.xml"	target="clean"/>
		<ant	dir="lang"	antfile="build.xml"	target="clean"/>
		<ant	dir="livegps"	antfile="build.xml"	target="clean"/>
		<ant	dir="mappaint"	antfile="build.xml"	target="clean"/>
		<ant	dir="namefinder"	antfile="build.xml"	target="clean"/>
		<ant	dir="navigator"	antfile="build.xml"	target="clean"/>
		<ant	dir="nearclick"	antfile="build.xml"	target="clean"/>
		<ant	dir="osmarender"	antfile="build.xml"	target="clean"/>
		<ant	dir="plastic_laf"	antfile="build.xml"	target="clean"/>
		<ant	dir="pluginmanager"	antfile="build.xml"	target="clean"/>
		<ant	dir="surveyor"	antfile="build.xml"	target="clean"/>
		<ant	dir="tagging-preset-tester"	antfile="build.xml"	target="clean"/>
		<ant	dir="tways"	antfile="build.xml"	target="clean"/>
		<ant	dir="validator"	antfile="build.xml"	target="clean"/>
		<ant	dir="waypoints"	antfile="build.xml"	target="clean"/>
		<ant	dir="wmsplugin"	antfile="build.xml"	target="clean"/>
		<ant	dir="ywms"	antfile="build.xml"	target="clean"/>
	</target>

	<target name="clean_install">
	</target>

	<target name="install" depends="build">
	</target>

</project>
