Skip to content

Conversation

@turkeylurkey
Copy link
Member

@turkeylurkey turkeylurkey commented Jul 17, 2025

Two methods were renamed (getServerFeaturesGradle(), getClassesDirectoriesGradle()) rather than investigate whether the Groovy language implementation could be tricked into finding the methods by their old names. By the same token, these three methods use the Java method to indicate where to find them but the code still works properly if we delete the class name and this: GenerateFeaturesTask.this.getMPVersion(), GenerateFeaturesTask.this.getEEVersion(), GenerateFeaturesTask.this.getServerFeatureUtil(). I keep this syntax to keep it the same as ci.maven and to make it clear to the reader that we are using the local method or the inherited method of the local class.

Part of OpenLiberty/ci.maven#1915

Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant