Index: applications/editors/josm/plugins/mapdust/build.xml
===================================================================
--- applications/editors/josm/plugins/mapdust/build.xml	(revision 24929)
+++ applications/editors/josm/plugins/mapdust/build.xml	(revision 24930)
@@ -5,5 +5,5 @@
 	<property name="commit.message" value="MapDust bug reporter plugin" />
 	<property name="plugin.main.version" value="3592" />
-	<property name="josm.dir" value="../../core/dist/" />
+	<property name="josm" location="../../core/dist/josm-custom.jar"/>
 	<property name="plugin.build.dir" value="build/classes" />
 	<property name="apidoc.dir" value="build/doc" />
@@ -18,5 +18,5 @@
 	<path id="classpath">
 		<fileset dir="${plugin.lib.dir}" includes="**/*.jar" />
-		<fileset dir="${josm.dir}" includes="josm-custom.jar" />
+		<pathelement path="${josm}"/>
 	</path>
 
