Hi List, there is a compile error with Java 1.5 and SVN version 1339. With java 1.6 there are some (other) warnings but the build succeeds.
$ ant dist
Buildfile: build.xml
init:
[mkdir] Created dir: /home/hinrichs/projekte/josm/build
[mkdir] Created dir: /home/hinrichs/projekte/josm/dist
compile:
[javac] Compiling 277 source files to /home/hinrichs/projekte/josm/build
[javac]
/home/hinrichs/projekte/josm/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java:200:
cannot find symbol
[javac] symbol : method getDropLocation()
[javac] location: class javax.swing.JList
[javac] int dropIndex =
selectedList.locationToIndex(selectedList.getDropLocation().getDropPoint());
[javac]
^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
BUILD FAILED
/home/hinrichs/projekte/josm/build.xml:70: Compile failed; see the compiler
error output for details.
Total time: 3 seconds
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/josm-dev
