Hi,
in gruntspud.jar are the mac stub files included.
Dunno how it is if gruntspud is used as standalone
version, but if it is used as jEdit-plugin, the
included class-files take precedence over the system
class-files. So the stubs are used instead of the
system-classes. And there is another more important
problem. If you use jEdit on a Mac OS X system with
gruntspud-plugin installed, the MacOS-Plugin cannot
start up. The problem is, that the stub-classes
included in gruntspud.jar take precedence over the
system-classes AND, to come to anther important point,
that the stub-classes are incorrect. e. g. the
addApplicationListener method of the class
Application doesn't take an ApplicationAdapter as
argument, but an ApplicationListener. That is why I
spotted the problem. The MacOS-Plugin searches for
the correct method, which is not present in your
wrong stub-classes, and therefore throws a
NoSuchMethodException. Besides, your own calls to
this method will fail if you don't include the stub-
classes and try to use the system-classes, because of
that same excpetion thrown then. And as long as you
include the stub-classes in the jar-file, they do
nothing.
TODO:
- Fix your stub classes, so that your compiled
classes store the right signatures (maybe I can give
a patch for this, as I created correct stub-classes
for compilation of MacOS-Plugin)
- EXCLUDE the stub-classes from the jar-file and
release a new version.
Greetz,
Vampire