Index: applications/editors/josm/plugins/mapillary/gradle/josm-tasks.gradle
===================================================================
--- applications/editors/josm/plugins/mapillary/gradle/josm-tasks.gradle	(revision 32997)
+++ applications/editors/josm/plugins/mapillary/gradle/josm-tasks.gradle	(revision 32999)
@@ -12,8 +12,12 @@
  */
 task initJosmPrefs(type: Copy) {
-  if (!new File("$buildDir/.josm/preferences.xml").exists()) {
-    from "config/josm/preferences.xml"
-    into "$buildDir/.josm"
+  doFirst {
+    if (new File("$buildDir/.josm/preferences.xml").exists()) {
+      println "JOSM preferences not copied, file is already present.\nIf you want to replace it, run the task 'cleanJosm' additionally."
+      exclude '*'
+    }
   }
+  from "config/josm/preferences.xml"
+  into "$buildDir/.josm"
 }
 
