ant -lib /home/mdupont/josm.openstreetmap.de/debian/josm/usr/share/josm/josm.jar > ~/public_html/osm/buildlog.txt
BUILD FAILED
/home/mdupont/svn.openstreetmap.org/applications/editors/josm/plugins/validator/build.xml:12: Compile failed; see the compiler error output for details.
here is the buildlog:
http://osm.komzpa.net/~mdupont/osm/buildlog.txt
important error is :
[javac] /home/mdupont/svn.openstreetmap.org/applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/DuplicatedWayNodes.java:60: cannot find symbol
[javac] symbol : method delete(java.util.Set)
[javac] location: class org.openstreetmap.josm.command.DeleteCommand
[javac] return DeleteCommand.delete(Collections.singleton(w));
It does happen with sunjdk, the other computer had an older version of josm. The problem is with the latest version of josm.
/usr/lib/jvm/java-6-openjdk/bin/javac -version
javac 1.6.0_0
Discussion
Comment from h4ck3rm1k3 on 28 July 2009 at 20:54
Updated external to revision 16714.
Updated to revision 1869.
mdupont@newbie:~/josm.openstreetmap.de$ ant
Buildfile: build.xml
init:
compile:
[javac] Compiling 36 source files to /home/mdupont/josm.openstreetmap.de/build
[javac] Note: /home/mdupont/josm.openstreetmap.de/src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerLayer.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
dist:
[delete] Deleting: /home/mdupont/josm.openstreetmap.de/REVISION
[delete] Deleting: /home/mdupont/josm.openstreetmap.de/dist/josm-custom.jar
[jar] Building jar: /home/mdupont/josm.openstreetmap.de/dist/josm-custom.jar
BUILD SUCCESSFUL
Total time: 11 seconds