Posted by
ctrueden on
Oct 18, 2013; 4:30pm
URL: http://imagej.273.s1.nabble.com/startup-plugins-from-more-than-one-folder-on-the-menu-tp5005223p5005245.html
Hi Dscho,
> In Fiji (actually, ImageJ2's legacy layer), we also added support for
> $HOME/.plugins/
...
> If you do not like that location, you can override it by setting the
> system property ij1.plugin.dirs
Thanks for the reminder! To document all this, I created a new page on the
wiki:
http://fiji.sc/PluginsUnfortunately, I had some trouble getting the .plugins folder and the
ij1.plugins.dir system property override to work properly on my OS X system:
- When I put a plugin in $HOME/.plugins and launched Fiji, it was not
discovered.
- The following command run from $HOME still did not find the plugin:
$FIJI/Contents/MacOS/ImageJ-macosx -Dij1.plugin.dirs=$HOME/.plugins
- The same command run from $HOME/.plugins *did* find it, but did not find
the system plugins anymore.
- So then I tried the following, also from $HOME/.plugins, and it worked:
$FIJI/Contents/MacOS/ImageJ-macosx
-Dij1.plugin.dirs=$FIJI/jars:$FIJI/plugins:$HOME/.plugins
But the fact that the invocation is sensitive to your CWD seems like a bug
to me. Agreed?
Regards,
Curtis
On Thu, Oct 17, 2013 at 5:12 PM, Johannes Schindelin <
[hidden email]> wrote:
> 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