Index: applications/editors/josm/plugins/livegps/build.xml
===================================================================
--- applications/editors/josm/plugins/livegps/build.xml	(revision 3742)
+++ applications/editors/josm/plugins/livegps/build.xml	(revision 3743)
@@ -9,5 +9,5 @@
    
    <!-- plugin meta data (enter new version number if anything changed!) -->
-   <property name="plugin.version" value="1.0.1"/>
+   <property name="plugin.version" value="1.2"/>
    <property name="plugin.description" value="Allow live GPS feed from a gpsd server (V${plugin.version})."/>
    <property name="plugin.stage" value="50"/>
@@ -66,6 +66,20 @@
   </target>
 
-  <!-- write site description for the given plugin -->
+  <!-- write site description for the given plugin so josm will accept it -->
   <target name="site">
+    <echo message="creating site description in ${plugin.site.file}"/>
+    <echo file="${plugin.site.file}">&lt;!-- plugins available on this site -->
+  &lt;plugins>
+    &lt;plugin id="${ant.project.name}" version="${plugin.version}">
+      &lt;name>${ant.project.name}&lt;/name>
+      &lt;description>${plugin.description}&lt;/description>
+      &lt;resource>${plugin.site.url}${plugin.jar}&lt;/resource>
+    &lt;/plugin>
+  &lt;/plugins>
+    </echo>
+  </target>
+
+  <!-- write site description for the given plugin (not implemented in JOSM as full version yet!) -->
+  <target name="site-full-donotuse">
     <echo message="creating site description in ${plugin.site.file}"/>
     <echo file="${plugin.site.file}">&lt;?xml version="1.0"?>
@@ -83,6 +97,6 @@
       &lt;description>${plugin.description}&lt;/description>
       &lt;resources>
-        &lt;resource src="${plugin.site.url}/${plugin.jar}"
-                  target="$${josm.user.dir}/plugins/${plugin.jar}"/>
+        &lt;resource src="${plugin.site.url}${plugin.jar}"
+                  target="${josm.home.dir}/plugins/${plugin.jar}"/>
       &lt;/resources>
     &lt;/plugin>
