Index: /applications/editors/josm/plugins/build.xml
===================================================================
--- /applications/editors/josm/plugins/build.xml	(revision 30550)
+++ /applications/editors/josm/plugins/build.xml	(revision 30551)
@@ -2,6 +2,8 @@
 <project name="josm-plugins" default="build" basedir=".">
     <target name="compile_josm" unless="skip-josm">
-        <echo message="test"/>
         <ant dir="../core" target="dist"/>
+    </target>
+    <target name="compile_josm_test" unless="skip-josm">
+        <ant dir="../core" target="test-compile"/>
     </target>
     <target name="compile" depends="compile_josm"/>
@@ -211,5 +213,5 @@
     <target name="clean_install"/>
     <target name="install" depends="dist"/>
-    <target name="test">
+    <target name="test" depends="compile_josm_test">
         <ant antfile="build.xml" target="test" dir="alignways"/>
         <ant antfile="build.xml" target="test" dir="ElevationProfile"/>
