Andre, Which JDK do you have?
I set up Java compiler compliance level to Java 5. For all and for classes too. So it should be ok. Igor Shubovych 2009/1/25 Andre Hinrichs <andre.hinri...@gmx.de> > 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 > > _______________________________________________ > josm-dev mailing list > josm-dev@openstreetmap.org > http://lists.openstreetmap.org/listinfo/josm-dev > > _______________________________________________ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev