[josm-dev] Setting up Eclipse for plugin development

Werner Horsch werner.horsch at gmail.com
Sun Mar 22 20:37:26 UTC 2015


I've made something wrong when I checked out josm plugins following the
directions on the web page, or maybe is something outdated on the web page

My problems is that I can't compile plugins because it doesn't find the
imports of the different plugin's classes

1) I checked out the plugins using
http://svn.openstreetmap.org/applications/editors/josm

2) I haven't made any changes to the delivered build files

3) I compile the plugin build from an ANT window (e.g. utilsplugin2)

4) I'm getting following errors when trying to compile a plugin like
utilsplugin2
    [javac]
/home/werner/EclipseProjects/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/actions/SplitOnIntersectionsAction.java:13:
error: package org.openstreetmap.josm.actions does not exist
    [javac] import org.openstreetmap.josm.actions.JosmAction;

I'm not an experienced SW guy as you may have noted, for sure these erros
come because the compiler is looking on the wrong place to find the java
classes

I was wondering if someone could point to where my error is or give at
least some hints

Appreciate


More information about the josm-dev mailing list