Replies: 6 comments 8 replies
-
Hi @tortmayr , do you have any hints for my problem described here? |
Beta Was this translation helpful? Give feedback.
-
@martin-fleck-at Hi Martin, the link to your update site shows to me that this is the plugin of the Workflow Example. |
Beta Was this translation helpful? Give feedback.
-
...hm I am still missing how to config my public plugin project. For this I need two additional artifacts: a eclipse-feature project and a eclipse-site project. The interesting part for me is the feature-project. This has simply only two files - the The difference to your workflow example is that your feature folder holds the org.eclipse.glsp.ide.feature_2.1.0.jar only and the plugin folder holds the org.eclipse.glsp.ide.editor_2.1.0.jar and the org.eclipse.glsp.ide.workflow.editor_2.1.0.jar. And that means to me that a user have to install both plugins - ?? Otherwise I guess the workflow plugin will not work and will show the same error message I have in my test IDEs. So if you can point me to your feature.xml file that is used in your demo site-project, I can try a similar setup. But I fear that this means that I need always bundle my plugin with the GLSP Eclipse Integration feature and the user need to install both plugins. That's not very nice, but in the end it's probably acceptable. |
Beta Was this translation helpful? Give feedback.
-
Hi @rsoika, I had a look at this and unfortunately it looks like integrating GLSP into recent Eclipse releases is currently not possible due |
Beta Was this translation helpful? Give feedback.
-
Hi @tortmayr, I thought again about the namespace issue you mentioned. Are you sure we are affected from it? In Jakarta EE Servers the issue is very well known. But all moderns Servers (e.g. Wildfly, OpenLiberty, Payara) have a dynamic class-loader module that automatically lifts the package names when loading old libraries. Otherwise no new App server would be able to load old Java EE apps. |
Beta Was this translation helpful? Give feedback.
-
I haven't had time yet to dig deeper into this, but when I did the initial investigation I at least identified two problematic dependencies
You are right, in an ideal scenario updating the packages in question an adapt our imports should be enough. However, previous updates have shown that is typically not that easy. Especially bumping the Jetty version can be tricky and cause side issues that need to be fixed. I will start with a first migration attempt this week and let you know about the (intermediate) results. |
Beta Was this translation helpful? Give feedback.
-
I have successful setup my GLSP Eclipse Integration project for Open-BPMN. (also following this discussion)
I can run and test the plugin using the
.launch
configuration within my Eclipse IDE.My problem is now how to package this into a feature/site to provide a public download. I have added a lot of dependencies into my feature list to fulfill all the requirements for glsp. It is more the 70MB which seems very huge. But anyway it is still not working as expected. When I install the plugin in a blank eclipse and start it I got the following error exception:
I have of course added the corresponding plugin into my feature set
But the error message makes somehow sense as the jar file
org.eclipse.glsp.ide.editor_2.1.0.jar
bundled with my plugin is an empty plugin file only containing the filesplugin.xml
andMETA-INF.MF
. This is surprising. For example other GLSP plugins likeorg.eclipse.glsp.layout_2.0.0.jar
contain the corresponding class files.Now I have already tried to add the library
org.eclipse.glsp.ide.editor-2.1.0.jar
directly from the target folder of the org.eclipse.glsp.ide.editor project into my own/lib/
directory of my plugin. But this did not work at all.I wonder if there is something missing? Is the plugin
org.eclipse.glsp.ide.editor
2.1.0 at least not available yet?This is how my project looks: https://github.com/imixs/open-bpmn-eclipse-integration
Thanks for any hints
Beta Was this translation helpful? Give feedback.
All reactions