Login  Register

Re: plugins.config and static functions with more than 1 argument

Posted by Alan Brooks on Jul 21, 2014; 9:22pm
URL: http://imagej.273.s1.nabble.com/plugins-config-and-static-functions-with-more-than-1-argument-tp5008189p5008843.html

Hi Wayne,

I had not seen the Jar Resources Demo. I appreciate the tip. I may not use
it to package stand-alone plugins but it will be useful to be able to
include some resources I was trying to package nicely.

Cc'ing the mailing list in case someone in the future is looking for the
same thing.

Regards,
Alan


On Sun, Jul 20, 2014 at 11:26 AM, Rasband, Wayne (NIH/NIMH) [E] <
[hidden email]> wrote:

> Hi Alan,
>
> Have you looked at the "JAR Resources Demo" plugin at
>
>     http://imagej.nih.gov/ij/plugins/pcl-demo.html
>
> It demonstrates how to include text files, images and macros in jar files.
>
> Best regards,
>
> -wayne
>
> On Jul 17, 2014, at 12:11 AM, Alan Brooks wrote:
>
> > Hi Oli,
> >
> > I have also had the same problem. I would like to distribute a suite of
> > macros and plugins all as a single jar, but I don't know if it is
> possible.
> >
> > My current work-around is to package the macros separately from the jar
> and
> > then reference them in plugins.config as such:
> > Plugins>MyFolder, "My Macro",
> > ij.plugin.Macro_Runner("UnpackedSuiteMacros/Best_Macro_Ever.ijm")
> >
> > Ideas would be appreciated.
> >
> > Thanks,
> > Alan
> >
> >
> >
> > --
> > View this message in context:
> http://imagej.1557.x6.nabble.com/plugins-config-and-static-functions-with-more-than-1-argument-tp5008189p5008789.html
> > Sent from the ImageJ mailing list archive at Nabble.com.
> >
> > --
> > ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html