-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Fix eclipse for build tools #73699
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
Fix eclipse for build tools #73699
Conversation
@nik9000 I've noticed that when I import eclipse locally I still see many /bin folders due to the output classpath entry pointing to We could change the default output location to e.g. |
Before the bug this is fixing I don't remember hidden bin folders. I'll pull this locally and see what is up. |
With this plugin most projects don't import into Eclipse properly and have an error like:
Here's the one for the server:
|
Haven't seen this locally. Will have a Look. Thanks for testing |
93a95bf
to
124a104
Compare
@nik9000 found the typo causing this. should be fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That got it all working! There are other errors around groovy versions and module-path garbage when trying to run the build-tools but those aren't new. They are just what we get for not having an Eclipse user hack on the build consistently.
build-conventions/build.gradle
Outdated
*/ | ||
int i = 0; | ||
classpath.getEntries().stream().filter(e -> e instanceof SourceFolder).forEachOrdered(s -> | ||
s.setOutput("out/eclipse"+i) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this has the same error as the other stuff used to but it didn't fail because there is only one folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
c8e93d7
to
9f7d20e
Compare
@elasticmachine test this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
apply common eclipse config to all projects across the elasticsearch workspace including build tools projects
apply common eclipse config to all projects across the elasticsearch workspace including build tools projects
fixed #73615 |
This reverts commit 3799abc
This addresses #73615 and applies common eclipse config to all projects across the elasticsearch workspace including build tools projects