Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable pointing to external container xml #365

Merged
merged 3 commits into from
Aug 17, 2023
Merged

Conversation

dominikl
Copy link
Member

Fixes #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.

@dominikl dominikl requested a review from jburel June 16, 2023 10:27
@jburel
Copy link
Member

jburel commented Jul 12, 2023

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

@jburel jburel merged commit 2279b84 into ome:master Aug 17, 2023
jburel added a commit to jburel/omero-insight that referenced this pull request Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MacOS: edit or store container.xml outside the application to avoid SystemPolicyAppBundles restrictions
2 participants