Ignore:
Timestamp:
2011-12-15T18:16:10+01:00 (13 years ago)
Author:
stoecker
Message:

update to support core changes

Location:
applications/editors/josm/plugins/CommandLine
Files:
2 edited

Legend:

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

    r27119 r27242  
    44    <property name="commit.message" value="Moar bugfixes"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="4549"/>
     6    <property name="plugin.main.version" value="4645"/>
    77    <!--
    88      ************************************************
  • applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandLine.java

    r25841 r27242  
    6363import org.openstreetmap.josm.io.GpxWriter;
    6464import org.openstreetmap.josm.io.OsmWriter;
     65import org.openstreetmap.josm.io.OsmWriterFactory;
    6566import org.openstreetmap.josm.plugins.Plugin;
    6667import org.openstreetmap.josm.plugins.PluginInformation;
     
    499500                                try { printWriter = new PrintWriter(new OutputStreamWriter(outputStream, "utf-8")); }
    500501                                catch (Exception e) {e.printStackTrace();}
    501                                 final OsmWriter osmWriter = new OsmWriter(printWriter, true, null);
     502                                final OsmWriter osmWriter = OsmWriterFactory.createOsmWriter(printWriter, true, null);
    502503                                Collection<OsmPrimitive> refObjects = currentCommand.getDepsObjects();
    503504                                Collection<OsmPrimitive> pObjects;
Note: See TracChangeset for help on using the changeset viewer.