GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix GrEclipse initialization warnings by wborn · Pull Request #3097 · diffplug/spotless

Conversation

@wborn

@wborn wborn commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Summary

GrEclipse initialization currently emits several warnings even though formatting succeeds.

This change:

  • uses the nested-jar directory from the formatter classpath instead of falling back to Equo's default cache location
  • removes the obsolete groovy-test exclusion added as a workaround for Fix NoSuchElementException if package is not exported equodev/equo-ide#193, which is fixed in the Solstice version used by Spotless
  • configures osgi.configuration.area for the embedded Eclipse runtime
  • routes expected Solstice missing bundle/capability diagnostics through SLF4J at INFO level instead of WARN

This removes warnings such as:

The following nested jars are missing from ...
Missing required bundle org.eclipse.jdt.debug ...
Missing required capability ...
Recommend setting osgi.configuration.area to a directory ...

The Groovy-Eclipse compiler resolver output is not addressed by this change because it is written directly to System.out by Groovy-Eclipse.

Tested with:

./gradlew :lib-extra:test --tests com.diffplug.spotless.extra.groovy.GrEclipseFormatterStepTest
./gradlew :plugin-maven:test --tests com.diffplug.spotless.maven.groovy.GrEclipseTest
./gradlew :plugin-gradle:test

Fixes #2445

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
wborn added 2 commits September 24, 2026 13:27
@wborn
Fix GrEclipse initialization warnings
f205892
Use the nested-jar directory from the formatter classpath instead of falling back to Equo's default cache location.

Remove the obsolete groovy-test exclusion now that equo-ide#193 is fixed, configure an OSGi configuration area, and route expected Solstice manifest diagnostics through SLF4J at INFO level.

Fixes diffplug#2445
@wborn
Update CHANGES.md
685094d
@wborn

wborn commented Sep 24, 2026

Copy link
Copy Markdown
Contributor Author

The Groovy-Eclipse compiler resolver output is not addressed by this change because it is written directly to System.out by Groovy-Eclipse.

I created groovy/groovy-eclipse#1703 to address this.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nedtwigg
Merge branch 'main' into fix/greclipse-warnings
5243167
@nedtwigg
nedtwigg enabled auto-merge September 25, 2026 18:40
@nedtwigg
nedtwigg merged commit bbf44a4 into diffplug:main Sep 25, 2026
18 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@wborn
wborn deleted the fix/greclipse-warnings branch September 26, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Missing required bundle and Missing required capability

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@wborn @nedtwigg
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.