[josm-dev] Building plugins
Paul Norman
penorman at mac.com
Fri Nov 9 06:32:24 GMT 2012
I've been trying to compile the mirrored_download plugin so I can fix bugs
http://josm.openstreetmap.de/ticket/7660 and
http://josm.openstreetmap.de/ticket/7661 as well as add
jxapi.openstreetmap.org to the list.
I checked out the plugin environment as described at
http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins and
installed ant and attempted to do ant dist but I am getting the compile
errors below. Is there a step I'm missing?
pnorman at merry:~/osm/josm/plugins/mirrored_download$ ant dist
Buildfile: /home/pnorman/osm/josm/plugins/mirrored_download/build.xml
init:
compile:
[echo] compiling sources for ../../dist/mirrored_download.jar ...
[javac] Compiling 4 source files to
/home/pnorman/osm/josm/plugins/mirrored_download/build
[javac] warning: [options] bootstrap class path not set in conjunction
with -source 1.6
[javac]
/home/pnorman/osm/josm/plugins/mirrored_download/src/mirrored_download/Mirro
redDownloadAction.java:4: error: package org.openstreetmap.josm.gui.help
does not exist
[javac] import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
[javac] ^
[javac]
/home/pnorman/osm/josm/plugins/mirrored_download/src/mirrored_download/Mirro
redDownloadAction.java:4: error: static import only from classes and
interfaces
[javac] import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
[javac] ^
... many more similar errors
[javac] 100 errors
[javac] 4 warnings
BUILD FAILED
/home/pnorman/osm/josm/plugins/build-common.xml:40: Compile failed; see the
compiler error output for details.
Total time: 1 second
More information about the josm-dev
mailing list