Index: /applications/editors/josm/plugins/mapdust/.classpath
===================================================================
--- /applications/editors/josm/plugins/mapdust/.classpath	(revision 31762)
+++ /applications/editors/josm/plugins/mapdust/.classpath	(revision 31763)
@@ -5,5 +5,5 @@
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
 	<classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
-	<classpathentry kind="lib" path="lib/gson-2.2.4.jar"/>
+	<classpathentry combineaccessrules="false" kind="src" path="/JOSM-GSON"/>
 	<classpathentry kind="output" path="build/classes"/>
 </classpath>
Index: /applications/editors/josm/plugins/mapdust/build.xml
===================================================================
--- /applications/editors/josm/plugins/mapdust/build.xml	(revision 31762)
+++ /applications/editors/josm/plugins/mapdust/build.xml	(revision 31763)
@@ -4,5 +4,4 @@
     <property name="commit.message" value="MapDust bug reporter plugin"/>
     <property name="plugin.main.version" value="7001"/>
-
     <property name="apidoc.dir" value="doc"/>
 
@@ -14,22 +13,7 @@
     <import file="../build-common.xml"/>
   
-    <!-- classpath -->
-    <path id="classpath">
-        <fileset dir="${plugin.lib.dir}" includes="**/*.jar"/>
-        <pathelement path="${josm}"/>
-    </path>
-
-    <!--
-    **********************************************************
-    ** compile - complies the source tree
-    **********************************************************
-    -->
-    <target name="compile" depends="init">
-        <echo message="compiling sources for ${plugin.jar} ..."/>
-        <javac srcdir="src" classpathref="classpath" debug="true" destdir="${plugin.build.dir}" includeantruntime="false">
-            <compilerarg value="-Xlint:deprecation"/>
-            <compilerarg value="-Xlint:unchecked"/>
-        </javac>
-    </target>
+	<fileset id="plugin.requires.jars" dir="${plugin.dist.dir}">
+        <include name="gson.jar"/>
+    </fileset>
 
     <target name="clean">
@@ -69,5 +53,4 @@
         </copy>
         <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
-        	<zipfileset src="lib/gson-2.2.4.jar"/>
             <manifest>
                 <attribute name="Author" value="Beata Jancso"/>
@@ -77,4 +60,5 @@
                 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/MapDust"/>
                 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
+                <attribute name="Plugin-Requires" value="gson"/>
                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
                 <attribute name="Plugin-Icon" value="images/dialogs/mapdust_icon25.png"/>
