Index: /applications/editors/josm/plugins/ywms/build.xml
===================================================================
--- /applications/editors/josm/plugins/ywms/build.xml	(revision 3578)
+++ /applications/editors/josm/plugins/ywms/build.xml	(revision 3579)
@@ -2,5 +2,5 @@
 
 	<!-- point to your JOSM directory -->
-	<property name="josm" location="../josm/dist/josm-custom.jar" />
+	<property name="josm" location="../../core/dist/josm-custom.jar" />
 
 
@@ -23,8 +23,15 @@
 			<fileset dir="images"/>
 		</copy>
+		<exec append="false" output="build/resources/REVISION" executable="svn" failifexecutionfails="false">
+			<env key="LANG" value="C"/>
+			<arg value="info"/>
+			<arg value="."/>
+		</exec>
+		<property file="build/resources/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="Author" value="Francisco R. Santos &lt;frsantos@gmail.com>"/>
 			</manifest>
