Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide two templates sets: OASP4J and devon4j #769

Closed
jdiazgon opened this issue Oct 5, 2018 · 3 comments
Closed

Provide two templates sets: OASP4J and devon4j #769

jdiazgon opened this issue Oct 5, 2018 · 3 comments

Comments

@jdiazgon
Copy link
Member

jdiazgon commented Oct 5, 2018

Expected behavior

As a developer of devonfw, I want to have CobiGen templates for both OASP4J 3.0.0 and devon4j 3.0.0 so that I am able to generate correct templates for the version that I most prefer.

Possible solutions

  1. We could provide two templates sets on the workspaces\main folder. One could be called CobiGen_Templates_devon4j and the other CobiGen_Templates_oasp4j so that our developer just has to import the ones that he needs. (maybe he wouldn't even need to rename as it is specified by the pom).

    1. Drawbacks: Our developers may get confused if they see two template sets. Also we would need to inform about this change to them
  2. Provide both templates set in the same folder but with different increments, as similar to shown in below image, but instead of devon4j 2.x.x should be oasp4j-3.0.0
    image

    1. Drawbacks; Loading more templates may result in performance issues. However, I think this is more intuitive for our developers.

Related PRs

devon4j#16.

Related issues

#751

@maybeec
Copy link
Member

maybeec commented Oct 10, 2018

We should investigate the performance.
In general if there are a lot of increments it might even get hard to get an overview.

@jdiazgon
Copy link
Member Author

jdiazgon commented Nov 6, 2018

Most probably this will be closed as some of us have decided to only provide templates compliant with devon4j 3.0.0.

Anyway, this will be discussed soon in the product owners meeting.

@jdiazgon
Copy link
Member Author

Closing as manager decision is to just provide devon4j templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants