[josm-dev] ewmsplugin on win32
Stephan
osm at stephans-server.de
Thu Nov 27 08:39:48 GMT 2008
Hi dirk,
Dirk Stöcker wrote:
>> Besides this problem: I tried debugging the plugin with eclipse. Now
>> webkit returned data. Aerial images visible in JOSM. Very strange.
>> It uses different coordinates now. Something wrong with the mentioned URL?
>>
>
> Your above URL suggest an old version of the ymap.html and (e)wmsplugin.
> A new URL does not have "request=getmap&format=image/jpeg"
That would explain the different behavior. The debug version was out of
svn.
I found the problem.
I had tried the plugin in the past and "removed" it as it was not
working as expected.
Now I "installed" it again. But in reality this is not
removal/installation but enabling/disabling.
The now outdated jar was still on the disk.
I think enabling a plugin should trigger an update check if the jar is
already downloaded.
Opinions?
Not sure where that could be fixed. The PluginPreference::ok() method
looked like a nice place to do this. Maybe an update-check after every
action that requires a restart? If josm needs to be restarted anyways
why not do this with the same restart cycle?
Stephan
More information about the josm-dev
mailing list