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

KAFKA-7844: Fix installAll, jarAll, etc. targets #6169

Closed
wants to merge 3 commits into from

Conversation

cmccabe
Copy link
Contributor

@cmccabe cmccabe commented Jan 18, 2019

The presence of the buildSrc subproject is causing problems when we try
to run installAll, jarAll, and the other "all" targets. It's easier
just to make the generator code a regular subproject and use the
JavaExec gradle task to run the code. This also makes it more
straightforward to run the generator unit tests.

The presence of the buildSrc subproject is causing problems when we try
to run installAll, jarAll, and the other "all" targets.  It's easier
just to make the generator code a regular subproject and use the
JavaExec gradle task to run the code.  This also makes it more
straightforward to run the generator unit tests.
@mumrah
Copy link
Contributor

mumrah commented Jan 18, 2019

Checked this out locally and it fixed the IntelliJ errors I was seeing previously. 👍

Copy link
Contributor

@mumrah mumrah left a comment

Choose a reason for hiding this comment

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

LGTM

@cmccabe
Copy link
Contributor Author

cmccabe commented Jan 18, 2019

Note that this also fixes IntelliJ not correctly handling some of the generator junit test files.

build.gradle: The :generator module should not reference
org.apache.kafka.test.IntegrationTest.IntegrationTest, since it resides
in the client module which we may not have yet compiled.
@guozhangwang
Copy link
Contributor

The jenkins failures are consistent, seems relevant?

@ijuma
Copy link
Contributor

ijuma commented Jan 19, 2019

Yeah, the errors are definitely related.

@mumrah
Copy link
Contributor

mumrah commented Jan 19, 2019

Adding integrationTest.enabled = false in the :generator submodule should skip that task entirely.

@ijuma
Copy link
Contributor

ijuma commented Jan 21, 2019

@cmccabe See #6182 that fixes two problems in this PR.

@ijuma
Copy link
Contributor

ijuma commented Jan 22, 2019

Merged #6182 with correct attribution, closing this one.

@ijuma ijuma closed this Jan 22, 2019
@cmccabe cmccabe deleted the KAFKA-7844 branch May 20, 2019 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants