[OSM-dev] JOSM Plugins: getPluginDir() doesn't work as expected and some plugins still use it ...
Ulf Lamping
ulf.lamping at web.de
Sat Jul 14 20:19:29 BST 2007
Hi!
Don't know if this is the right list for JOSM devel ...
Just fixed a bug in the combination of mappaint and recent JOSM versions.
The function getPluginDir() is already deprecated and doesn't work any
longer as expected in current JOSM versions.
It does return the dir of the latest loaded plugin and not of the plugin
in question.
I don't know if this is an intermittent bug in JOSM which will be fixed.
Please, to avoid any more confusion, this function should be fixed to
work as expected or just removed from JOSM completely. It's better to
get a clear error message for not being able to load plugins still using
this, than to have some strange behaviour of the plugin much later ;-)
A quick search for getPluginDir returned the following plugins still
using it: osmarender, validator and ywms. As I don't want to setup the
build environments for theses as well, could the corresponding
developers have a look at this?
Regards, ULFL
More information about the dev
mailing list