Skip to content

Comments

-pedantic: Add hint that Eclipse restart is required#6511

Merged
chrisrueger merged 1 commit intobndtools:masterfrom
chrisrueger:6507-pedantic-change-requires-eclipse-restart
Apr 4, 2025
Merged

-pedantic: Add hint that Eclipse restart is required#6511
chrisrueger merged 1 commit intobndtools:masterfrom
chrisrueger:6507-pedantic-change-requires-eclipse-restart

Conversation

@chrisrueger
Copy link
Contributor

Closes #6507

This is not really a fix, but a band-aid.

Adjust description of the warning, so at least it is mentioned somewhere. unfortunatelly I could not figure out how to reliably sync the Processor.pendatic field with the .bnd files on change. The problem is that Processor.pedantic can be set via .bnd files but also via Processor.setPedantic(boolean) e.g. from testcases, there is some magic hen-egg-caching going on in Processor.begin() and Processor.getProperties()

  • in the end I was not able to figure out, what to call in which order so that the Workspace Refresh Button behaves the same as an Eclipse restart.

If anybody has a better idea, feel free.

adjust description of the warning, so at least it is mentioned somewhere.
unfortunatelly I could not figure out how to reliably sync the Processor.pendatic field with the .bnd files on change. The problem is that Processor.pendatic can be set via .bnd files but also via Processor.setPedantic(boolean) e.g. from testcases, there is some magic caching going on in Processor.begin() and Processor.getProperties() which I was not able to figure out, what to call so that the Workspace Refresh Button behaves the same as an Eclipse restart.

Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>

Update pedantic.md
@chrisrueger chrisrueger force-pushed the 6507-pedantic-change-requires-eclipse-restart branch from faf0f1d to 18e8178 Compare March 15, 2025 11:43
@chrisrueger chrisrueger changed the title hint that Eclipse restart is required -pedantic: Add hint that Eclipse restart is required Mar 15, 2025
@chrisrueger chrisrueger merged commit 8c004fb into bndtools:master Apr 4, 2025
11 checks passed
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.

Change to -pedantic needs Eclipse restart

1 participant