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

CobiGen tutorial fails #200

Open
GuentherJulian opened this issue Feb 17, 2022 · 3 comments
Open

CobiGen tutorial fails #200

GuentherJulian opened this issue Feb 17, 2022 · 3 comments
Labels
bug Something isn't working cobigen Team_Tutorials These issues will be handeled by the team Tutorials

Comments

@GuentherJulian
Copy link
Contributor

GuentherJulian commented Feb 17, 2022

Currently the Cobigen tutorial is failing. See for example this log file: https://github.com/devonfw-tutorials/tutorials/runs/5225406346?check_suite_focus=true
The first generation with CobiGen is successful. Then the input file is changed and another generation with CobiGen is failing.
This is because the Java project is not rebuilt after the entity class is changed.
Probably a buildJava("cobigenexample", false) command after the change file command could be the solution.

@GuentherJulian GuentherJulian added bug Something isn't working cobigen Team_Tutorials These issues will be handeled by the team Tutorials labels Feb 17, 2022
@GuentherJulian GuentherJulian changed the title CobiGen tutorial is failing CobiGen tutorial fails Feb 17, 2022
@ghost ghost self-assigned this Feb 17, 2022
@maybeec
Copy link
Member

maybeec commented Feb 18, 2022

I see an error, which is completely strange here. https://github.com/devonfw-tutorials/tutorials/runs/5225406346?check_suite_focus=true#step:7:1538 I don't feel it will be fixed by simply rebuilding.
Normally, we should be able to also generate from non-built sources. Possibly something to investigate in the cobigen team @GuentherJulian .

@ghost
Copy link

ghost commented Feb 18, 2022

Hello, yesterday i created pull request for this issue #201 with the proposed solution of rebuilding the project. The build still fails but the error has changed.
https://github.com/devonfw-tutorials/tutorials/runs/5231357532?check_suite_focus=true

@GuentherJulian
Copy link
Contributor Author

GuentherJulian commented Feb 18, 2022

@maybeec I will take this issue with me to discuss with the CobiGen team.
For now, I will remove the tutorial so we can keep the pipelines green while we investigate this issue.
@rvirod I will let you know when we have any news on this.

Backup of the tutorial:
cobigen.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cobigen Team_Tutorials These issues will be handeled by the team Tutorials
Projects
None yet
Development

No branches or pull requests

2 participants