On Wed, 19 Nov 2008, Frederik Ramm wrote: >> I have the same thing too, with the latest build #1087 > [...] > >> java.lang.NoClassDefFoundError: org/openstreetmap/josm/tools/ShortCut > > If anyone has *any* problems whatsoever that involve the word "ShortCut" > please be sure to update all your plugins. > > I have changed this to "Shortcut" in JOSM because the misspelled > "ShortCut" was hurting my eyes every time I saw it ;-) and I have also > modified all the plugins to take account of this change but if you have > an old plugin and try to run it with the latest JOSM then it doesn't work.
Did you notice, that The MANIFEST.MF now has a Plugin-MainVersion, where you can request a certain revision of JOSM. This is to make such cases come up with a proper message like "You need JOSM version xxx". Sadly it does not work the other way round (Telling you that "xxx is no longer supported". > PS: Tried to install a legacy class "ShortCut" that would simply inherit > from "Shortcut" to avoid these problems, but it turned out that there's > also a property named "shortCut" accesses to which I could not simply > redirect... seems we need more getters and setters ;-) This should be replaced be correct Shortcut calls anyway. I did so for validator, livegps and wmsplugin. Ciao -- http://www.dstoecker.eu/ (PGP key available) _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/josm-dev
