Index: applications/editors/josm/plugins/osmarender/build.xml
===================================================================
--- applications/editors/josm/plugins/osmarender/build.xml	(revision 18970)
+++ applications/editors/josm/plugins/osmarender/build.xml	(revision 18971)
@@ -63,9 +63,16 @@
 	</target>
 	<target name="revision">
-		<exec append="false" output="REVISION" executable="svn" failifexecutionfails="true" failonerror="true">
+                <exec append="false" output="REVISION" executable="perl" failifexecutionfails="false">
+                        <env key="LANG" value="C"/>
+                        <arg value="../getrevision.pl"/>
+                        <arg value="xslt"/>
+                        <arg value="stylesheets"/>
+                        <arg value="." />
+                </exec>
+           	<exec append="false" output="REVISION" executable="svn" failifexecutionfails="true" failonerror="true">
 			<env key="LANG" value="C" />
 			<arg value="info" />
 			<arg value="--xml" />
-			<arg value="build.xml" />
+			<arg value="." />
 		</exec>
 		<xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true" />
