[josm-dev] OsmPrimitive.timestamp API change problem
Martin Garbe
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
> versions.
>
> 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
> easy.
>
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".
Regards,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6084 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.openstreetmap.org/pipermail/josm-dev/attachments/20090323/6c2e0e53/attachment.bin>
More information about the josm-dev
mailing list