Index: applications/editors/josm/plugins/ywms/build.xml
===================================================================
--- applications/editors/josm/plugins/ywms/build.xml	(revision 3579)
+++ applications/editors/josm/plugins/ywms/build.xml	(revision 4018)
@@ -23,15 +23,18 @@
 			<fileset dir="images"/>
 		</copy>
-		<exec append="false" output="build/resources/REVISION" executable="svn" failifexecutionfails="false">
+		<exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
 			<env key="LANG" value="C"/>
 			<arg value="info"/>
+			<arg value="--xml"/>
 			<arg value="."/>
 		</exec>
-		<property file="build/resources/REVISION" />
+		<xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
+		<delete file="REVISION"/>
 		<jar destfile="ywms.jar" basedir="build">
 			<manifest>
 				<attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.ywms.YWMSPlugin"/>
 				<attribute name="Plugin-Description" value="A WMS server for Yahoo imagery based on Firefox"/>
-				<attribute name="Plugin-Version" value="${Revision}"/>
+				<attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
+				<attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
 				<attribute name="Author" value="Francisco R. Santos &lt;frsantos@gmail.com>"/>
 			</manifest>
