Index: applications/editors/josm/plugins/build-common.xml
===================================================================
--- applications/editors/josm/plugins/build-common.xml	(revision 29004)
+++ applications/editors/josm/plugins/build-common.xml	(revision 29005)
@@ -51,9 +51,8 @@
     <!--
     **********************************************************
-    ** dist - creates the plugin jar
-    **********************************************************
-    -->
-    <target name="dist" depends="compile,revision">
-        <echo message="creating ${ant.project.name}.jar ... "/>
+    ** setup-dist - copies files for distribution
+    **********************************************************
+    -->
+    <target name="setup-dist-default">
         <copy todir="${plugin.build.dir}/resources" failonerror="no" includeemptydirs="no">
             <fileset dir="resources"/>
@@ -72,4 +71,16 @@
             </fileset>
         </copy>
+    </target>
+    <target name="setup-dist">
+	<antcall target="setup-dist-default" />
+    </target>
+    <!--
+    **********************************************************
+    ** dist - creates the plugin jar
+    **********************************************************
+    -->
+    <target name="dist" depends="compile,revision">
+        <echo message="creating ${ant.project.name}.jar ... "/>
+	<antcall target="setup-dist" />
         <delete file="MANIFEST" failonerror="no"/>
         <manifest file="MANIFEST" mode="update">
