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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
josm-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to