Index: /applications/editors/josm/plugins/remotecontrol/build.xml
===================================================================
--- /applications/editors/josm/plugins/remotecontrol/build.xml	(revision 13312)
+++ /applications/editors/josm/plugins/remotecontrol/build.xml	(revision 13313)
@@ -1,11 +1,7 @@
 <project name="remotecontrol" default="dist" basedir=".">
-<!-- compilation properties -->
-    <property name="josm.build.dir"   value="../../core"/>
-    <property name="josm.home.dir"    value="${user.home}/.josm"/>
-    <property name="josm"         location="../../core/dist/josm-custom.jar" />
-    <property name="plugin.build.dir" value="build"/>
-    <property name="plugin.dist.dir"  value="../../dist"/>
-    <property name="plugin.name"      value="${ant.project.name}"/>
-    <property name="plugin.jar"       value="../../dist/${plugin.name}.jar"/>
+    <property name="josm"                   location="../../core/dist/josm-custom.jar" />
+    <property name="plugin.dist.dir"        value="../../dist"/>
+    <property name="plugin.build.dir"       value="build"/>
+    <property name="plugin.jar"             value="${plugin.dist.dir}/${ant.project.name}.jar"/>
     <property name="ant.build.javac.target" value="1.5"/>
     <target name="init">
@@ -14,11 +10,13 @@
     <target name="compile" depends="init">
         <echo message="creating ${plugin.jar}"/>
-        <javac srcdir="src" classpath="${josm}" destdir="build" debug="true">
+        <javac srcdir="src" classpath="${josm}" debug="true" destdir="build">
+            <compilerarg value="-Xlint:deprecation"/>
+            <compilerarg value="-Xlint:unchecked"/>
             <include name="**/*.java" />
         </javac>
     </target>
     <target name="dist" depends="compile">
-        <copy todir="${plugin.build.dir}/images">
-            <fileset dir="images"/>
+        <copy todir="${plugin.build.dir}/images" >
+            <fileset dir="images" />
         </copy>
         <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
@@ -33,8 +31,8 @@
             <manifest>
                 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.remotecontrol.RemoteControlPlugin"/>
+                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
+                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
                 <attribute name="Plugin-Description" value="A plugin allowing other applications to send commands to JOSM." />
-                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
                 <attribute name="Plugin-Mainversion" value="1180"/>
-                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
                 <attribute name="Author" value="Frederik Ramm &lt;frederik@remote.org&gt;"/>
             </manifest>
@@ -45,9 +43,3 @@
         <delete file="${plugin.jar}" />
     </target>
-    <target name="install" depends="dist">
-        <copy file="${plugin.jar}" todir="${user.home}/.josm/plugins"/>
-    </target>
-    <target name="test" depends="install">
-        <java jar="${josm}" fork="true"/>
-    </target>
 </project>
Index: /applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RemoteControlPreferences.java
===================================================================
--- /applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RemoteControlPreferences.java	(revision 13312)
+++ /applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RemoteControlPreferences.java	(revision 13313)
@@ -12,5 +12,4 @@
 import org.openstreetmap.josm.gui.preferences.PreferenceDialog;
 import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
-import org.openstreetmap.josm.plugins.remotecontrol.Util.Version;
 import org.openstreetmap.josm.tools.GBC;
 import org.openstreetmap.josm.tools.I18n;
@@ -30,8 +29,5 @@
     public void addGui(final PreferenceDialog gui)
     {
-        Version ver = Util.getVersion();
         String description = tr("A plugin that allows JOSM to be controlled from other applications.");
-        if (ver != null)
-            description += "<br><br>" + tr("Version: {0}<br>Last change at {1}", ver.revision, ver.time) + "<br><br>";
         JPanel remote = gui.createPreferenceTab("remotecontrol.gif", tr("Remote Control"), tr("Settings for the Remote Control plugin."));
         remote.add(new JLabel("<html>"+tr("The Remote Control plugin will always listen on port 8111 on localhost." +
Index: plications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/Util.java
===================================================================
--- /applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/Util.java	(revision 13312)
+++ 	(revision )
@@ -1,88 +1,0 @@
-package org.openstreetmap.josm.plugins.remotecontrol;
-
-import static org.openstreetmap.josm.tools.I18n.tr;
-
-import java.awt.event.ActionListener;
-import java.io.*;
-import java.net.URL;
-import java.net.URLConnection;
-import java.util.StringTokenizer;
-
-import javax.swing.JButton;
-
-import org.openstreetmap.josm.Main;
-import org.openstreetmap.josm.plugins.*;
-import org.openstreetmap.josm.tools.ImageProvider;
-
-/**
- * Utility class
- *
- */
-public class Util
-{
-    /**
-     * Utility method to retrieve the plugin for classes that can't access to the plugin object directly.
-     *
-     * @param clazz The plugin class
-     * @return The YWMS plugin
-     */
-    public static Plugin getPlugin(Class<? extends Plugin> clazz)
-    {
-        String classname = clazz.getName();
-        for (PluginProxy plugin : Main.plugins)
-        {
-            if(plugin.info.className.equals(classname))
-            {
-                return (Plugin)plugin.plugin;
-            }
-        }
-        return null;
-    }
-
-    /**
-     * Returns the plugin's directory of the plugin
-     *
-     * @return The directory of the plugin
-     */
-    public static String getPluginDir()
-    {
-        return Main.pref.getPreferencesDir() + "plugins/ywms/";
-    }
-
-    /**
-     * Returns the version
-     * @return The version of the application
-     */
-    public static Version getVersion()
-    {
-        PluginInformation info = PluginInformation.getLoaded("ywms");
-        if (info == null)
-            return null;
-
-        return new Version(info.version, info.attr.get("Plugin-Date"));
-    }
-
-    /**
-     * Utility class for displaying versions
-     *
-     * @author frsantos
-     */
-    public static class Version
-    {
-        /** The revision */
-        public String revision;
-        /** The build time */
-        public String time;
-
-        /**
-         * Constructor
-         * @param revision
-         * @param time
-         */
-        public Version(String revision, String time)
-        {
-            this.revision = revision;
-            this.time = time;
-        }
-    }
-}
