Login  Register

Re: startup plugins from more than one folder on the menu

Posted by dscho on Oct 17, 2013; 10:12pm
URL: http://imagej.273.s1.nabble.com/startup-plugins-from-more-than-one-folder-on-the-menu-tp5005223p5005233.html

Hi,

On Thu, 17 Oct 2013, Curtis Rueden wrote:

> Hi Robert,
>
> > Configurable site-wide plugins combined with  group- and/or
> > personal-plugins would be handy but it seems not entirely obvious
> > (to me) how to configure this.
>
> ImageJ 1.x does not support this. It is something we are planning to
> support in ImageJ2, however.
>
> In the meantime, one thing you can do is symlink (on non-Windows platforms)
> additional folders beneath your main plugins folder.

In Fiji (actually, ImageJ2's legacy layer), we also added support for
$HOME/.plugins/:

https://github.com/imagej/imagej/blob/master/core/legacy/src/main/java/imagej/legacy/LegacyExtensions.java#L628

If you do not like that location, you can override it by setting the
system property ij1.plugin.dirs to a list of directories (on Windows, this
list is delimited by semicolons, everywhere else by colons) to search for
plugins:

https://github.com/imagej/imagej/blob/master/core/legacy/src/main/java/imagej/legacy/LegacyExtensions.java#L216

Ciao,
Johannes

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