Skip to content

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

Closed
cmccabe wants to merge 3 commits intoapache:trunkfrom
cmccabe:KAFKA-7844
Closed

KAFKA-7844: Fix installAll, jarAll, etc. targets#6169
cmccabe wants to merge 3 commits intoapache:trunkfrom
cmccabe:KAFKA-7844

Conversation

@cmccabe
Copy link
Copy Markdown
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
Copy Markdown
Member

mumrah commented Jan 18, 2019

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

Copy link
Copy Markdown
Member

@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
Copy Markdown
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
Copy Markdown
Contributor

The jenkins failures are consistent, seems relevant?

@ijuma
Copy link
Copy Markdown
Member

ijuma commented Jan 19, 2019

Yeah, the errors are definitely related.

@mumrah
Copy link
Copy Markdown
Member

mumrah commented Jan 19, 2019

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

@ijuma
Copy link
Copy Markdown
Member

ijuma commented Jan 21, 2019

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

@ijuma
Copy link
Copy Markdown
Member

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

Development

Successfully merging this pull request may close these issues.

4 participants