devonfw / cobigen

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

CobiGen can't handle a version conflict of template sets #1665

Open jan-vcapgemini opened 1 year ago

jan-vcapgemini commented 1 year ago

Expected behavior

As a CobiGen user, I want to have two different versions of a template set in my adapted folder but only the latest version should get loaded.

Actual behavior

CobiGen generates for both template sets incrementally, overwriting each other.

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. Check test: https://github.com/devonfw/cobigen/blob/07e7ad8d9eb07775ce0fa10d01e74dda984b1821/cobigen/cobigen-core-systemtest/src/test/java/com/devonfw/cobigen/systemtest/ClassLoadingIT.java#L117-L151

Related/Dependent Issues

Comments/Hints:

Affected version: