devonfw / cobigen

Code-based Incremental Generator
Apache License 2.0
35 stars 70 forks source link

Optimize Upgrade process #1676

Open jan-vcapgemini opened 1 year ago

jan-vcapgemini commented 1 year ago

The context upgrader is splitting and after that merging the context.xml with the template.xml so it would be great to upgrade all the templates first with a TemplateConfigurationUpgrader and after that using the contextConfigurationUpgrader.

https://github.com/devonfw/cobigen/blob/28f53b0dad58ff71b30d011f0a0dfe450f646313/cobigen/cobigen-core/src/main/java/com/devonfw/cobigen/impl/adapter/TemplateAdapterImpl.java#L408-L411