[OSM-dev] Errors in josm - plugin compile ...

Joerg Ostertag (OSM Munich/Germany) openstreetmap at ostertag.name
Tue May 13 00:31:03 BST 2008


Any hint/Fix is appreciated.
Otherwise please uncomment the ChangePropertyKeyCommand-plugin  in order to 
allow package generation.



BUILD SUCCESSFUL
Total time: 1 second
     [echo] java version: 1.5.0_14
     [echo] creating site description in josm-site.xml
     [echo] creating ../../dist/colorscheme.jar
     [echo] creating ../../dist/Duplicate-Way.jar
     
[exec] ..................................................................................................... 
done.
     [exec] 829 translated messages, 1 fuzzy translation, 30 untranslated 
messages.
     
[exec] ........................................................................................................................................................................................................... 
done.
     [exec] 311 translated messages, 229 fuzzy translations, 320 untranslated 
messages.
     
[exec] ........................................................................................................................................................................................................... 
done.
     [exec] 311 translated messages, 229 fuzzy translations, 320 untranslated 
messages.
     
[exec] ........................................................................................................................................................................................................... 
done.
     [exec] 311 translated messages, 229 fuzzy translations, 320 untranslated 
messages.
     [echo] creating ../../dist/namefinder.jar
     [echo] creating ../../dist/nearclick.jar
     [echo] creating ../../dist/osmarender.jar
     [echo] creating ../../dist/plastic_laf.jar
     [echo] creating ../../dist/slippymap.jar
    [javac] 
Note: /home/tweety/svn.openstreetmap.org/applications/editors/josm/plugins/slippymap/src/org/openstreetmap/josm/plugins/slippymap/SlippyMapLayer.java 
uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
     [echo] creating ../../dist/utilsplugin.jar
     [echo] creating ../../dist/validator.jar
    
[javac] /home/tweety/svn.openstreetmap.org/applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/ChangePropertyKeyCommand.java:50: 
executeCommand() in 
org.openstreetmap.josm.plugins.validator.tests.ChangePropertyKeyCommand 
cannot override executeCommand() in org.openstreetmap.josm.command.Command; 
attempting to use incompatible return type
    [javac] found   : void
    [javac] required: boolean
    [javac]     @Override public void executeCommand() {
    [javac]                               ^
    
[javac] /home/tweety/svn.openstreetmap.org/applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/ChangePropertyKeyCommand.java:50: 
method does not override a method from its superclass
    [javac]     @Override public void executeCommand() {
    [javac]          ^
    [javac] 
Note: /home/tweety/svn.openstreetmap.org/applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/OSMValidatorPlugin.java 
uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors



-- 
Jörg (Germany, Tettnang)

http://www.ostertag.name/
irc://irc.oftc.net/#osm (sometimes)
Tel.: 089/420950304 (VOIP: Only ringing while at home at the PC)




More information about the dev mailing list