-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JaunchConfig fields prefixed with "cfg." will now explicitly allow override via reading .cfg files. This allows us to set default field values in the .toml but later allow the user to specify these values in a more-easily modified config file. The general pattern is illustrated here with the jvmMaxHeap field: - a cfg.max-heap field is delcared in the toml with a default value - jvm.max-heap is defined in the toml with a value of cfg.max-heap - when jvm.max-heap is interpolated it will resolve to the current cfg.max-heap value, which may have been overridden by a .cfg file Required for fiji/fiji#351
- Loading branch information
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters