Login  Register

Re: JRuby plugin development (newbie)

Posted by dscho on Jun 06, 2010; 3:49pm
URL: http://imagej.273.s1.nabble.com/JRuby-plugin-development-newbie-tp3688052p3688056.html

Hi,

On Sun, 6 Jun 2010, Christian Böhringer wrote:

> Am 04.06.2010 um 23:47 schrieb Johannes Schindelin:
> >>> You need "java -cp jruby-complete.jar:. main" (or on Windows, "-cp
> >>> jruby-complete.jar;.").
> >>
> >> By doing so and setting the necessary classpaths in ImageJ, I end up
> >> with a plugin that doesn't give me any error messages - but does nothing
> >> at all when called. Imlementing the Plugin Interface didn't help either.
> >
> > Can you send me a generated .class file of such an example implementing
> > the PlugIn interface? I would like to play with it.
>
> Sure, thanks a lot!
This class seems to have a main() method, but does not implement PlugIn.

Ciao,
Johannes