[josm-dev] OsmPrimitive.timestamp API change problem
martin.garbe at informatik.uni-rostock.de
Mon Mar 23 13:07:32 GMT 2009
Dirk Stöcker wrote:
> On Sun, 22 Mar 2009, Martin Garbe wrote:
>> Is there a way to write one plugin which is compatible with old and new API
>> of OsmPrimitive? Another possibility would be to create one plugin version
>> for old Josm and another for the new one.
> I fear no. And I also would not support plugin writing for old JOSM
> The current JOSM plugin systems enforces the strategy of old version old
> plugins, new version new plugin. It's a drawback, but not changable that
The problem is that there is only one plugin list which doesn't support
more than one plugin version.
Is it possible to integrate a plugin version - josm version check before
loading the plugin? Instead of simply quiting the plugin with an
exception it would be better for usability to give a message to the user
with "This plugin is only compatible with versions of JOSM newer than 1500".
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6084 bytes
Desc: S/MIME Cryptographic Signature
More information about the josm-dev