Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[che-dev] Building Images at WS creation Time

Hi folks,

I had an idea I'd like to run by the folks more familiar with workspace creation than me: we've had conversations about native-compiling jdt.ls-based Che 7 plugins. The thing that is keeping us from doing this right now is the dynamic nature of jdt.ls: it is a OSGI application that loads stuff at runtime. In short, the whole-world assumption that native compilation relies does not hold in our case. I know that right now we're only shipping Che 7 plugins that have a fixed set of jdt.ls plugins, but I still hope we can get to a world where we we can dynamically assign VS Code extensions to the proper sidecar image in the future, so I'd like to find a solution that would work in that world.
So my idea is to run a s2i build when a workspace is created or when it's configuration is changed. The s2i build would native-compile jdt.ls together with the bundles that need to run inside it. The outcome will be the "Java support" sidecar image.

Any comments on this? Is this hot shit or a steaming pile of the same?

/Thomas

Back to the top