ome / omero-insight

Gradle project containing insight java client for OMERO
https://www.openmicroscopy.org/omero/
GNU General Public License v2.0
7 stars 14 forks source link

Enable pointing to external container xml #365

Closed dominikl closed 1 year ago

dominikl commented 1 year ago

Fixes https://github.com/ome/omero-insight/issues/363 .

You can start Insight with a positional argument pointing to the container xml (e.g. container.xml for the "normal" Insight, containerImport.xml for the Importer). In the OSX build this argument is set by OMERO.insight.cfg:

[ArgOptions]
container.xml

Without this PR the container xml has to be in the config directory within the bundle. With this PR you can point to any location. If the argument contains at least one path character it is assumed it specifies a file outside the bundle, if it doesn't (i.e. it's only a file name) it's assumed that it specifies a file within config directory of the bundle.

The PR also removes the code to enable the DebugRepaintManager, as it's actually not used any more.

jburel commented 1 year ago

Instructions should be added to the FAQ indicating how to use external config file