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

Gen feat build file fix #706

Merged
merged 8 commits into from
Feb 14, 2022

Conversation

kathrynkodama
Copy link
Contributor

When a build file dependency change is detected, add an additional check to only call generateFeatures if there are class files to generate for.

Also include a minor improvement to the clean up logic in the dev integration tests.

See OpenLiberty/ci.maven#1409

…asses

Signed-off-by: Kathryn Kodama <kathryn.s.kodama@gmail.com>
Signed-off-by: Kathryn Kodama <kathryn.s.kodama@gmail.com>
@kathrynkodama kathrynkodama force-pushed the genFeat-build-file-fix branch from 615c957 to ec1509f Compare February 3, 2022 17:43
@kathrynkodama
Copy link
Contributor Author

Updated the logic to detect dependency changes in the build.gradle, and run generateFeatures --optimize=true. If generateFeatures is successful, run libertyCreate and installFeature as well.

Tried to add a new integration test to cover this case, but altering the build.gradle through the integration tests results in the following error

Could not parse build.gradle org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'basic-dev-project1643909649043'.

Opened a separate issue: #708

Signed-off-by: Kathryn Kodama <kathryn.s.kodama@gmail.com>
Signed-off-by: Kathryn Kodama <kathryn.s.kodama@gmail.com>
…dev mode already

Signed-off-by: Kathryn Kodama <kathryn.s.kodama@gmail.com>
@kathrynkodama kathrynkodama merged commit 313b899 into OpenLiberty:main Feb 14, 2022
@kathrynkodama kathrynkodama deleted the genFeat-build-file-fix branch June 1, 2022 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants