Index: applications/editors/josm/plugins/build-common.xml
===================================================================
--- applications/editors/josm/plugins/build-common.xml	(revision 27982)
+++ applications/editors/josm/plugins/build-common.xml	(revision 27983)
@@ -50,5 +50,5 @@
     -->
     <target name="revision">
-        <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
+        <exec append="false" outputproperty="svn.revision.output" executable="svn" failifexecutionfails="false">
             <env key="LANG" value="C"/>
             <arg value="info"/>
@@ -56,6 +56,7 @@
             <arg value="."/>
         </exec>
-        <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
-        <delete file="REVISION"/>
+        <xmlproperty prefix="version" keepRoot="false" collapseAttributes="true">
+	  <propertyresource name="svn.revision.output"/>
+	</xmlproperty>
     </target>
     <!--
