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 #1118 (closed defect: fixed)

Opened 2012-04-13T13:23:34-05:00

Last modified 2012-05-08T18:16:00-05:00

IJ2 can overwite Fiji's ImageJ.cfg

Reported by: bdezonia Owned by: dscho
Priority: major Milestone: imagej2-b3-headless
Component: Core Version:
Severity: serious Keywords:
Cc: sapristi@… Blocked By:
Blocking:

Description

IJ2 has a new ImageJ.cfg file format. When you run IJ2 from Fiji via "./ImageJ --ij2" IJ2 and/or the IJ2 launcher writes the new format ImageJ.cfg in the Fiji directory. Thus Fiji cannot be run unless that .cfg file is deleted first.

Change History

comment:1 Changed 2012-04-13T13:23:46-05:00 by bdezonia

  • Cc sapristi@… added

comment:2 Changed 2012-04-13T13:59:44-05:00 by dscho

The trick, of course, is to teach the Fiji Launcher to read the new format, too.

Or even better, to use ImageJ's launcher in the first place. This was the plan from the beginning, and it is a great pity that certain circumstances during the end of the beta1 release cycle made it impossible for me to focus on this part of the project properly.

comment:3 Changed 2012-04-23T00:33:25-05:00 by dscho

For Fiji to use IJ2's launcher, MiniMaven needs some special-casing. It will be ugly, but only slightly so...

comment:4 Changed 2012-04-23T01:16:43-05:00 by dscho

Change of plans. It is more elegant to require full-blown Maven if somebody needs to build the launcher. Preliminary commits to remove the ImageJ launcher's sources from fiji.git are in the 'ij2-launcher' branch:  https://github.com/fiji/fiji/commits/ij2-launcher

comment:5 Changed 2012-05-08T18:16:00-05:00 by dscho

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

The move of the ImageJ launcher to ImageJ2's repository is now finished. For convenience, there are two scripts in fiji.git now, download-launchers.sh (to download the launchers as built by ImageJ2's Jenkins) and build-launcher.sh (to build a local launcher from ImageJ2's sources; a checkout of modules/imagej2 is required, of course, and it will use Maven).