[josm-dev] mappaint sources in svn out of date?

Ulf Lamping ulf.lamping at web.de
Sat Oct 13 09:05:19 BST 2007


Hi!

I've just tried to compile the mappaint plugin, but failed.

I guess this is related to the API 0.5 changes, but I thought Frederik 
updated mappaint already, so I was a bit surprised that the sources 
won't compile.

Before I'm doing unnecessary effort: Are the current sources for API 0.5 
still in some git repository and not merged back to svn?


Regards, ULFL


P.S: The first few compile lines (seems that "Way" no longer has a 
"nodes" member):

compile:
    [javac] Compiling 1 source file to C:\Dokumente und 
Einstellungen\ulfl\Eigene Dateien\svn.openst
reetmap.org\applications\editors\josm\plugins\mappaint\build
    [javac] C:\Dokumente und Einstellungen\ulfl\Eigene 
Dateien\svn.openstreetmap.org\applications\ed
itors\josm\plugins\mappaint\src\mappaint\MapPaintVisitor.java:136: 
cannot find symbol
    [javac] symbol  : variable nodes
    [javac] location: class org.openstreetmap.josm.data.osm.Way
    [javac]             for (Node n : w.nodes) {
    [javac]                            ^
    [javac] C:\Dokumente und Einstellungen\ulfl\Eigene 
Dateien\svn.openstreetmap.org\applications\ed
itors\josm\plugins\mappaint\src\mappaint\MapPaintVisitor.java:159: 
drawOrderNumber(org.openstreetmap
.josm.data.osm.Segment,int) in 
org.openstreetmap.josm.data.osm.visitor.SimplePaintVisitor cannot be
applied to 
(org.openstreetmap.josm.data.osm.Node,org.openstreetmap.josm.data.osm.Node,int)
    [javac]                                             
drawOrderNumber(lastN, n, orderNumber);
    [javac]                                             ^
    [javac] C:\Dokumente und Einstellungen\ulfl\Eigene 
Dateien\svn.openstreetmap.org\applications\ed
itors\josm\plugins\mappaint\src\mappaint\MapPaintVisitor.java:173: 
cannot find symbol
    [javac] symbol  : variable nodes
    [javac] location: class org.openstreetmap.josm.data.osm.Way
    [javac]             for (Node n : w.nodes)
    [javac]                            ^
    [javac] C:\Dokumente und Einstellungen\ulfl\Eigene 
Dateien\svn.openstreetmap.org\applications\ed
itors\josm\plugins\mappaint\src\mappaint\MapPaintVisitor.java:229: 
cannot find symbol
    [javac] symbol  : variable currentPath
    [javac] location: class mappaint.MapPaintVisitor
    [javac]             currentPath.moveTo(p1.x, p1.y);
    [javac]             ^




More information about the josm-dev mailing list