In some projects Areco deployment scripts are used to override data which Hybris imports though essential or project data ImpEx scripts. This is a one time correction and although ant customize must be used in this case, to override the Hybris' Impex Scripts multiple times, ant customize don't work on the SAP cloud and the developers don't want to create a bean, annotate it with @SystemSetup and import there a new Impex which overrides the changes. These developers want to use a simple method with strict error handling with Areco deployment scripts to override Hybris impexes.
Proposal
Add the property runMultipleTimes to the configuration files of the deployment. If it is true, the deployment scripts will runs on every project or essential data creation. The execution will be recorded and any error will break the build.
If the property is true or don't exists, deployment scripts are going to be run once.
Motivation
In some projects Areco deployment scripts are used to override data which Hybris imports though essential or project data ImpEx scripts. This is a one time correction and although
ant customize
must be used in this case, to override the Hybris' Impex Scripts multiple times,ant customize
don't work on the SAP cloud and the developers don't want to create a bean, annotate it with @SystemSetup and import there a new Impex which overrides the changes. These developers want to use a simple method with strict error handling with Areco deployment scripts to override Hybris impexes.Proposal
Add the property runMultipleTimes to the configuration files of the deployment. If it is true, the deployment scripts will runs on every project or essential data creation. The execution will be recorded and any error will break the build. If the property is true or don't exists, deployment scripts are going to be run once.