[josm-dev] new on JOSM (and eclipse), cannot build
Theun
theun.mail at gmail.com
Sun Jan 4 16:54:52 GMT 2009
Hello,
I'm considering to do some work on JOSM, and also to get a bit acquainted to
Java/eclipse and programming on a linux machine, haven't done that before. I
have experience on windows programming (Delphi) and programming for embedded
controllers using plain ansi-c which I do most of the time.
I tried to compile the current trunk of JOSM using:
* Ubuntu-Hardy Heron
* Eclipse
The description in the trac-wiki seemed short but if it would work its OK.
However I'm getting some errors (14 to be exact) and a lot of warnings, I
guess I'm missing some files or declarations or a part of the eclipse/java
installation.
Has anyone some advice, things to check.
Thanx in advance,
Theun,
The errors I'm seeing on Eclipse:
Severity and Description Path Resource Location Creation Time
Id
method cannot be resolved JOSM/src/org/openstreetmap/josm/io
MyHttpURLConnection.java line 16 1231084971424 31
method cannot be resolved JOSM/src/org/openstreetmap/josm/io
MyHttpURLConnection.java line 17 1231084971425 32
method cannot be resolved JOSM/src/org/openstreetmap/josm/io
MyHttpURLConnection.java line 19 1231084971425 34
sun.net cannot be resolved to a type
JOSM/src/org/openstreetmap/josm/io MyHttpHandler.java line 10
1231084971438 35
sun.net cannot be resolved to a type
JOSM/src/org/openstreetmap/josm/io MyHttpURLConnection.java line 8
1231084971423 29
sun.net cannot be resolved to a type
JOSM/src/org/openstreetmap/josm/io MyHttpURLConnection.java line 9
1231084971424 30
The constructor MyHttpURLConnection(URL, Proxy, MyHttpHandler) is
undefined JOSM/src/org/openstreetmap/josm/io MyHttpHandler.java
line 31 1231084971439 36
The constructor URL(URL, String, MyHttpHandler) is undefined
JOSM/src/org/openstreetmap/josm/io OsmServerWriter.java line 539
1231084970554 17
The method getOutputStream() is undefined for the type Object
JOSM/src/org/openstreetmap/josm/io MyHttpURLConnection.java line 18
1231084971425 33
The method marktr(String) is undefined for the type AutoScaleAction
JOSM/src/org/openstreetmap/josm/actions AutoScaleAction.java line
25 1231085000043 160
The method tr(String) is undefined for the type MainMenu
JOSM/src/org/openstreetmap/josm/gui MainMenu.java line 134
1231084989712 101
The method tr(String) is undefined for the type MainMenu
JOSM/src/org/openstreetmap/josm/gui MainMenu.java line 137
1231084989713 102
The method tr(String) is undefined for the type new
LatLon.CoordinateFormat(){} JOSM/src/org/openstreetmap/josm/data/coor
LatLon.java line 30 1231084992851 122
Type mismatch: cannot convert from MyHttpURLConnection to URLConnection
JOSM/src/org/openstreetmap/josm/io MyHttpHandler.java line 31
1231084971439 37
ArrayList is a raw type. References to generic type ArrayList<E> should be
parameterized JOSM/src/org/openstreetmap/josm/data/osm/visitor
MapPaintVisitor.java line 263 1231084991820 108
Class is a raw type. References to generic type Class<T> should be
parameterized JOSM/src/org/openstreetmap/josm/tools
PlatformHookOsx.java line 28 1231084968219 4
Class is a raw type. References to generic type Class<T> should be
parameterized JOSM/src/org/openstreetmap/josm/tools
PlatformHookOsx.java line 30 1231084968220 6
More information about the josm-dev
mailing list