Changeset 13313 in osm for applications/editors/josm


Ignore:
Timestamp:
2009-01-22T17:07:55+01:00 (16 years ago)
Author:
stoecker
Message:

removed wrong version stuff

Location:
applications/editors/josm/plugins/remotecontrol
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/remotecontrol/build.xml

    r12780 r13313  
    11<project name="remotecontrol" default="dist" basedir=".">
    2 <!-- compilation properties -->
    3     <property name="josm.build.dir"   value="../../core"/>
    4     <property name="josm.home.dir"    value="${user.home}/.josm"/>
    5     <property name="josm"         location="../../core/dist/josm-custom.jar" />
    6     <property name="plugin.build.dir" value="build"/>
    7     <property name="plugin.dist.dir"  value="../../dist"/>
    8     <property name="plugin.name"      value="${ant.project.name}"/>
    9     <property name="plugin.jar"       value="../../dist/${plugin.name}.jar"/>
     2    <property name="josm"                   location="../../core/dist/josm-custom.jar" />
     3    <property name="plugin.dist.dir"        value="../../dist"/>
     4    <property name="plugin.build.dir"       value="build"/>
     5    <property name="plugin.jar"             value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    106    <property name="ant.build.javac.target" value="1.5"/>
    117    <target name="init">
     
    1410    <target name="compile" depends="init">
    1511        <echo message="creating ${plugin.jar}"/>
    16         <javac srcdir="src" classpath="${josm}" destdir="build" debug="true">
     12        <javac srcdir="src" classpath="${josm}" debug="true" destdir="build">
     13            <compilerarg value="-Xlint:deprecation"/>
     14            <compilerarg value="-Xlint:unchecked"/>
    1715            <include name="**/*.java" />
    1816        </javac>
    1917    </target>
    2018    <target name="dist" depends="compile">
    21         <copy todir="${plugin.build.dir}/images">
    22             <fileset dir="images"/>
     19        <copy todir="${plugin.build.dir}/images" >
     20            <fileset dir="images" />
    2321        </copy>
    2422        <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
     
    3331            <manifest>
    3432                <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.remotecontrol.RemoteControlPlugin"/>
     33                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
     34                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    3535                <attribute name="Plugin-Description" value="A plugin allowing other applications to send commands to JOSM." />
    36                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3736                <attribute name="Plugin-Mainversion" value="1180"/>
    38                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    3937                <attribute name="Author" value="Frederik Ramm &lt;frederik@remote.org&gt;"/>
    4038            </manifest>
     
    4543        <delete file="${plugin.jar}" />
    4644    </target>
    47     <target name="install" depends="dist">
    48         <copy file="${plugin.jar}" todir="${user.home}/.josm/plugins"/>
    49     </target>
    50     <target name="test" depends="install">
    51         <java jar="${josm}" fork="true"/>
    52     </target>
    5345</project>
  • applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RemoteControlPreferences.java

    r12778 r13313  
    1212import org.openstreetmap.josm.gui.preferences.PreferenceDialog;
    1313import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
    14 import org.openstreetmap.josm.plugins.remotecontrol.Util.Version;
    1514import org.openstreetmap.josm.tools.GBC;
    1615import org.openstreetmap.josm.tools.I18n;
     
    3029    public void addGui(final PreferenceDialog gui)
    3130    {
    32         Version ver = Util.getVersion();
    3331        String description = tr("A plugin that allows JOSM to be controlled from other applications.");
    34         if (ver != null)
    35             description += "<br><br>" + tr("Version: {0}<br>Last change at {1}", ver.revision, ver.time) + "<br><br>";
    3632        JPanel remote = gui.createPreferenceTab("remotecontrol.gif", tr("Remote Control"), tr("Settings for the Remote Control plugin."));
    3733        remote.add(new JLabel("<html>"+tr("The Remote Control plugin will always listen on port 8111 on localhost." +
Note: See TracChangeset for help on using the changeset viewer.