I want to update backoffice with ant updatesystem, I'm doing it this way:
ant updatesystem -DconfigFile=configWithBackofficeExt.json
For example - I have "Administration" and "MyWidget" widgets, I want to remove "Product Cockpit", so I remove config from *extension-backoffice-widgets.xml. And now, If I run my ant command - dropdownlist with widgets not updated. If I run an update from HAC or in backoffice with F4, all works fine.
As far as I understand, there is no web-context when I running ant command, so there are no beans responsible for update/rebuild of widgets.xml(composed widget config, which we can see in orchestrator).
Is there any way to attach backoffice web context, so that beans would be available when ant command called. Or maybe there is a more elegant way to do it?
Ps: I know about config properties to update backoffice on startup/login, but still prefer to do it with ant.