Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many mbeddr.core languages don't load properly when pulled in via global libraries #2288

Open
eugenschindler opened this issue Jul 15, 2023 · 3 comments

Comments

@eugenschindler
Copy link
Collaborator

Many of the mbeddr.core (not the platform) languages give problems with being properly class-loaded when I just put them into a subdirectory on my system and then point to them via global libraries (even after rebooting MPS).
If I copy all those languages in the plugins of the MPS isntallation itself, then they all load fine.
Maybe some custom class-loading goes wrong when (at least part of) the mbeddr.core languages are loaded via global libraries (and I guess also project libraries?).

@alexanderpann
Copy link
Member

The plugin com.mbeddr.spawner (debugger plugin) which is an IntelliJ platform probably needs to be loaded from the plugins folder to work properly. Some of the other languages need this plugin loaded so that they are loaded themselves.

@eugenschindler
Copy link
Collaborator Author

Thanks for the answer. What can I best do to make these issues go away? And is it possible to fix it also for the case when plugins are not copied into the plugins folder of MPS?

@alexanderpann
Copy link
Member

Except copying the spawner plugin to the plugins folder or voting to remove the debugger, not much. There is only a version 1.0 and 1.1 of this plugin, so you can also use the same version of it. When you check out the mbeddr repository itself, you should be able to install it with ./gradlew install or gradlew.bat install where you might need to set the parameter -PMPS_PATHS_SELECTOR to the MPS home path.

And is it possible to fix it also for the case when plugins are not copied into the plugins folder of MPS?

What do you mean?

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

No branches or pull requests

2 participants