NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1079 (closed defect: fixed)

Opened 2012-03-26T14:42:02-05:00

Last modified 2012-03-26T14:57:53-05:00

Update launcher configuration file format

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b1-initial
Component: Core Version:
Severity: serious Keywords:
Cc: schindelin@… Blocked By:
Blocking:

Description

As described in ticket #486 we should define a new launcher file format for IJ2.

Change History

comment:1 Changed 2012-03-26T14:47:20-05:00 by bdezonia

  • Status changed from new to closed
  • Resolution set to fixed

In bb561d9588e612484934318bb86a1b62bc56e634 (and 21dcd4e968996db4eb9acc01be4e0c0f3830ea36) code was finalized to support a new launcher config format

An example ImageJ.cfg looks like this:

#ImageJ startup properties (2.0.0-beta1-DEV)
jvmargs =
maxheap.mb = 1440

The first line is special. IJ2 looks for the string "ImageJ startup properties" to distinguish the launcher file from an old legacy format file.
The following lines are unordered.
Any line whose first non-whitespace character is a # is treated as a comment
Other entries show up as key/value pairs separated by equals signs.
There are currently only two keys defined (as you can see in the example above).

Last edited 2012-03-26T14:57:13-05:00 by bdezonia

comment:2 Changed 2012-03-26T14:57:53-05:00 by bdezonia

  • Cc schindelin@… added

Dscho, the above info should help you modify the launcher.