eclipse-platform / eclipse.platform.resources

Eclipse Public License 2.0
3 stars 18 forks source link

Use IScopeContext instead of static access in CheckMissingNaturesListener #102

Closed laeubi closed 2 years ago

laeubi commented 2 years ago

Thanks to https://github.com/eclipse-equinox/equinox.bundles/issues/24 we can now use the IScopeContext in a more declarative way in CheckMissingNaturesListener

This will finally make this class a good blueprint on how to use several workspace releated services in a safe and convenient way.

FYI @tjwatson @mickaelistria

jukzi commented 2 years ago

@laeubi In my workspaces it causes BUNDLE_SCOPE_FILTER cannot be resolved or is not a field CheckMissingNaturesListener.java /org.eclipse.core.resources/src/org/eclipse/core/internal/resources line 46 Java Problem

image

probably some version update in required bundles missing?

laeubi commented 2 years ago

You need the latest platform code (either Ibuild or source).

jukzi commented 2 years ago

You need to update dependencies to force that.

iloveeclipse commented 2 years ago

You need to update dependencies to force that.

https://github.com/eclipse-equinox/equinox.bundles/issues/35