Hi Dave,
The auto-export probably exported the registry.xml as enhanced system view XML, not a simple system view XML, with "combine" merging option.
For that reason, that cannot be reloaded on startup unfortunately. See "Combine and Overlay Enhanced System View XML Directives" section in [1].
What you can do for now is:
- Turn off the auto-export for the new groovy updater script.
- Export each new groovy updater script node under registry node *manually* to a separate XML file (e.g, bootstrap/configuration/src/main/resources/configuration/update/registry/my-new-script.xml).
- Add an initialize item in hippoecm-extension.xml manually with version and reloadonstartup option. e.g, <sv:node sv:name="my-project-configuration-hippo-update-hippo-registry-my-new-script">
Then it will be working fine.
Unfortunately, the auto-export doesn't export each updater script item to a separate item. As a result, it's hard to use reloadonstartup option properly in practice.
There's an improvement proposal for this [1]; we will see...
Regards,
Woonsan