Posted by
dscho on
Jul 17, 2014; 1:31pm
URL: http://imagej.273.s1.nabble.com/plugins-config-and-static-functions-with-more-than-1-argument-tp5008189p5008800.html
Hi Alan,
On Wed, 16 Jul 2014, Alan Brooks wrote:
> 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.
It might appear to be a splendid idea to just send a .jar via email to
your collaborators. But as soon as you have to juggle more than a single
revision of *every* contains macro and plugin, it gets pretty tedious.
Another pretty big disadvantage of putting macros into .jar files is that
they cannot easily be edited (enhanced, modified, improved, fixed, etc)
> 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")
As I wrote in a mail yesterday, if you use Fiji or ImageJ2 (but not yet if
you use bare-bones ImageJ 1.x), putting your macro into
plugins/Scripts/UnpackedSuiteMacros/Best_Macro_ever.ijm
it will be installed into the (new) top-level menu "UnpackedSuiteMacros"
instead of the "Plugins" menu.
> Ideas would be appreciated.
http://imagej.net/How_to_set_up_and_populate_an_update_siteCiao,
Johannes
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html