[ImageJ-devel] Headlessness

Johannes Schindelin Johannes.Schindelin at gmx.de
Tue Aug 31 11:12:29 CDT 2010


Hi,

On Tue, 31 Aug 2010, Grant B. Harris wrote:

> For running headless, ImageJA uses the trick of prepending the 
> headless.jar to the classpath, replacing Menus, gui.GenericDialog, and 
> util.Tools with modified GUI-less versions.
> 
> If we are to enable running headless in a future version, I'd like to 
> get ideas as to what strategies we might adopt (e.g. having a global 
> flag in the application context which allows gui-less operation of 
> plugins and other components,...)  Let's have a conversation on this.

The real problem with such a flag is that it should not exist in the first 
place. The macros/scripts that you record should be able to run without 
any GUI.

Ciao,
Johannes





More information about the ImageJ-devel mailing list