Index: /applications/editors/josm/plugins/opendata/build.xml
===================================================================
--- /applications/editors/josm/plugins/opendata/build.xml	(revision 30563)
+++ /applications/editors/josm/plugins/opendata/build.xml	(revision 30564)
@@ -8,5 +8,7 @@
     <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/OpenData"/>
     <property name="plugin.requires" value="jts;geotools;utilsplugin2"/>
-    <fileset id="plugin.requires.jars" dir="../../dist">
+	<!-- plugin.dist.dir is usually defined in build-common.xml but we need to define plugin.requires.jars before including it -->
+	<property name="plugin.dist.dir" location="../../dist"/>
+    <fileset id="plugin.requires.jars" dir="${plugin.dist.dir}">
         <include name="jts.jar"/>
         <include name="geotools.jar"/>
