[OSM-dev] Error compiling josm-plugins

Tim Waters (chippy) chippy2005 at gmail.com
Tue Jul 22 11:10:10 BST 2008


according to:
http://java.sun.com/javase/6/docs/api/java/lang/String.html#isEmpty()

isEmpty() is new for 1.6 - perhaps you need to change the build compiler jdk?

tim


On 7/21/08, Joerg Ostertag (OSM Munich/Germany)
<openstreetmap at ostertag.name> wrote:
> Any hint/Fix is welcome ....
>
>
>      [echo] creating ../../dist/namefinder.jar
>
>  [javac] /home/tweety/svn.openstreetmap.org/applications/editors/josm/plugins/namefinder/namefinder/PlaceSelection.java:166:
>  cannot find symbol
>     [javac] symbol  : method isEmpty()
>     [javac] location: class java.lang.String
>     [javac]                                     if(searchtext.isEmpty())
>     [javac]                                                      ^
>     [javac] 1 error
>
>  BUILD FAILED
>
>  --
>  Jörg (Germany, Tettnang)
>
>  http://www.ostertag.name/
>  irc://irc.oftc.net/#osm
>  Tel.: +49 89 420950304
>  Skype: JoergOstertag
>
>  _______________________________________________
>  dev mailing list
>  dev at openstreetmap.org
>  http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>




More information about the dev mailing list