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

[#534] fix(build): Fix compile distribution error #540

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

jerryshao
Copy link
Contributor

What changes were proposed in this pull request?

This PR adds "build" dependency to "copyCatalogLibs" task, so build will be triggered before copy the lib jars.

Why are the changes needed?

Without this fix, directly run "gradle compileDistribution" and "gradle compileDistribution" will get an incomplete package, which will lead to sever start error.

Fix: #534

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manual test.

@jerryshao jerryshao self-assigned this Oct 18, 2023
@jerryshao jerryshao marked this pull request as ready for review October 18, 2023 09:54
@github-actions
Copy link

Code Coverage Report

Overall Project 62.32% 🟢

There is no coverage information present for the Files changed

Copy link
Member

@xunliu xunliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passed test.
LGTM.

@jerryshao jerryshao merged commit 8a73187 into apache:main Oct 18, 2023
2 checks passed
jerryshao added a commit that referenced this pull request Oct 26, 2023
### What changes were proposed in this pull request?

This PR adds "build" dependency to "copyCatalogLibs" task, so build will
be triggered before copy the lib jars.

### Why are the changes needed?

Without this fix, directly run "gradle compileDistribution" and "gradle
compileDistribution" will get an incomplete package, which will lead to
sever start error.

Fix: #534 

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Manual test.
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.

[Bug report] Gradle compile & assemble distribution command may build the wrong package
2 participants