Skip to content

Conversation

@colings86
Copy link
Contributor

@colings86 colings86 commented Dec 21, 2017

#27801 introduced a new gradle project :libs:elasticsearch-nio which creates cyclical project dependencies when importing the projects into Eclipse.

This change applies the same trick as we have for the core project where, and building for Eclipse, splits the :libs:elasticsearch-nio project into :libs:elasticsearch-nio which points to src/main and :libs:elasticsearch-nio-tests which points to src/test. This prevents cyclical project dependencies in Eclipse arising from the fact that eclipse does not separate compile/runtime dependencies from test dependencies.

#27801 introduced a new gradle project `:libs:elasticsearch-nio` which creates cyclical project dependencies when importingthe projects into Eclipse.

This change applies the same trick as we have for the core project where, and building for Eclipse, splits the `:libs:elasticsearch-nio` project into `:libs:elasticsearch-nio` which points to `src/main` and `:libs:elasticsearch-nio-tests` which points to `src/test`. This prevents cyclical project dependencies in Eclipse arising from the fact that eclipse does not separate compile/runtime dependencies from test dependencies.
@colings86 colings86 self-assigned this Dec 21, 2017
@colings86 colings86 added :Delivery/Build Build or test infrastructure v7.0.0 labels Dec 21, 2017
Copy link
Member

@nik9000 nik9000 left a comment

Choose a reason for hiding this comment

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

Without this Eclipse goes crazy. With it Eclipse is fine. The fix looks like the other fixes we've made in the past for Eclipse. LGTM.

@colings86 colings86 merged commit d63b1ef into elastic:master Dec 21, 2017
@colings86
Copy link
Contributor Author

Thanks for the review @nik9000

@colings86 colings86 deleted the fix/eclipse-build-nio branch December 21, 2017 14:34
@Tim-Brooks
Copy link
Contributor

Thank you for fixing this @colings86.

@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants