Changeset 17858 in osm for applications/editors


Ignore:
Timestamp:
2009-09-30T10:11:08+02:00 (15 years ago)
Author:
vsandre
Message:
  • update loadUrl() to be compatible with josm 2215
  • minor changes to build.xml
Location:
applications/editors/josm/plugins/remotecontrol
Files:
2 edited

Legend:

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

    r17457 r17858  
    44    <property name="plugin.build.dir"       value="build"/>
    55    <property name="plugin.jar"             value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    6     <property name="ant.build.javac.target" value="1.5"/>
    76    <target name="init">
    87        <mkdir dir="${plugin.build.dir}"/>
     
    109    <target name="compile" depends="init">
    1110        <echo message="creating ${plugin.jar}"/>
    12         <javac srcdir="src" classpath="${josm}" debug="true" destdir="${plugin.build.dir}">
    13             <compilerarg value="-Xlint:deprecation"/>
     11        <javac srcdir="src" classpath="${josm}" debug="true" destdir="${plugin.build.dir}"
     12                       target="1.5" source="1.5" encoding="UTF-8">
     13                <compilerarg value="-Xlint:deprecation"/>
    1414            <compilerarg value="-Xlint:unchecked"/>
    1515        </javac>
     
    2626                <attribute name="Plugin-Description" value="Let other applications send commands to JOSM."/>
    2727                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/RemoteControl"/>
    28                 <attribute name="Plugin-Mainversion" value="2057"/>
     28                <attribute name="Plugin-Mainversion" value="2215"/>
    2929                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3030            </manifest>
  • applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RequestProcessor.java

    r17590 r17858  
    255255
    256256                    DownloadTask osmTask = new DownloadOsmTask();
    257                     osmTask.loadUrl(false, URLDecoder.decode(args.get("url"), "UTF-8"));
     257                    osmTask.loadUrl(false, URLDecoder.decode(args.get("url"), "UTF-8"), null);
    258258                } catch (LoadDeniedException ex) {
    259259                    System.out.println("RemoteControl: import forbidden by preferences");
Note: See TracChangeset for help on using the changeset viewer.