Index: applications/editors/josm/plugins/build.xml
===================================================================
--- applications/editors/josm/plugins/build.xml	(revision 3785)
+++ applications/editors/josm/plugins/build.xml	(revision 3786)
@@ -29,4 +29,6 @@
 		<ant dir="namefinder" antfile="build.xml" target="dist"/>
 		<ant dir="navigator" antfile="build.xml" target="dist"/>
+		<!--<ant dir="nearclick" antfile="build.xml" target="dist"/>-->
+		<ant dir="osmarender" antfile="build.xml" target="build"/>
 	</target>
 
@@ -40,4 +42,6 @@
 		<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"/>
 	</target>
 
Index: applications/editors/josm/plugins/osmarender/build.xml
===================================================================
--- applications/editors/josm/plugins/osmarender/build.xml	(revision 3785)
+++ applications/editors/josm/plugins/osmarender/build.xml	(revision 3786)
@@ -1,7 +1,7 @@
 <project name="osmarender" default="install" basedir=".">
 
-	<property name="josm" location="../../../../editors/josm/dist/josm-custom.jar" />
-	<property name="osmarender" location="../../../osmarender" />
-
+	<property name="josm" location="../../core/dist/josm-custom.jar" />
+	<!--<property name="osmarender" location="../../../osmarender" />-->
+	<property name="osmarender" location="../../../../rendering/osmarender" />
 
 	<target name="compile">
@@ -13,5 +13,5 @@
 	</target>
 
-	<target name="build">
+	<target name="build"  depends="compile">
 		<copy todir="bin">
 			<fileset dir="${osmarender}">
@@ -20,5 +20,5 @@
 			</fileset>
 		</copy>
-		<jar destfile="${user.home}/.josm/plugins/osmarender.jar" basedir="bin">
+		<jar destfile="dist/osmarender.jar" basedir="bin">
 			<manifest>
 				<attribute name="Plugin-Class" value="OsmarenderPlugin" />
