GithubHelp home page GithubHelp logo

Comments (5)

tomsontom avatar tomsontom commented on September 16, 2024 1

from efxclipse-rt.

tomsontom avatar tomsontom commented on September 16, 2024 1

[...]

Can this be fixed by just using the ModelAssembler component instance provided by OSGi? I don't know why a new instance is created here.

So this was changed with https://bugs.eclipse.org/bugs/show_bug.cgi?id=571866 - in former days this has all been created by DI. I've pushed a fix and published a new build

from efxclipse-rt.

cdamus avatar cdamus commented on September 16, 2024

Thanks for working on an update to Eclipse 2022-06 platform, which I need for Java 17 support (based on a recent enough Equinox release to deal with the deprecation of Security Manager).

However, I'm finding that none of the e4 application model contributions (fragments) from my plug-ins are being loaded when my application starts up. The problem is that the EFX_ResourceHandler::loadMostRecentModel() method creates a new instance of the ModelAssembler class from e4 to load the application model. However, the ModelAssembler is an OSGi service component that has the IExtensionRegistry injected by OSGi DS, not by e4 context DI. Consequently, the second instance of the ModelAssembler that the EFX_ResourceHandler creates doesn't have an extension registry and so it doesn't find any of the extensions that register fragment models.

Can this be fixed by just using the ModelAssembler component instance provided by OSGi? I don't know why a new instance is created here.

from efxclipse-rt.

cdamus avatar cdamus commented on September 16, 2024

Can this be fixed by just using the ModelAssembler component instance provided by OSGi? I don't know why a new instance is created here.

So this was changed with https://bugs.eclipse.org/bugs/show_bug.cgi?id=571866 - in former days this has all been created by DI. I've pushed a fix and published a new build

Thanks, Tom! I can confirm that today's 8 July nightly build fixes my application model problems. I seem to be in good shape now on Java 17 platform.

from efxclipse-rt.

tomsontom avatar tomsontom commented on September 16, 2024

Perfect - then the only thing let for a release is to update to EPL v2.0

from efxclipse-rt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.