Replies: 10 comments 13 replies
-
Hi @rsoika, Nevertheless if you don't want to use a target platform you can also install the required plugins manually and then start developing your glsp eclipse editor plugin (e.g. your version of
|
Beta Was this translation helpful? Give feedback.
-
Hi @tortmayr, now I started to setup my own Open-BPMN-Eclipse-Integration project. As far as I understand I need a client and server module. The client part seems clear to me in the moment. But the server part confuses me. In the glsp-eclipse-integration project you have a folder So far I hope I still on the right path. But the |
Beta Was this translation helpful? Give feedback.
-
I don't think that just adding the server part as maven dependency would be enough. You still have to make the server code somehow available as an Eclipse plugin.
Well, you are partly right. Currently most adopters build their project for one specif target platform/application context. Nevertheless, we also think that possibility to develop the core glsp editor platform independent and enable integration for different IDEs/platforms with a rather slim layer of glue code is one of the strong suits of GLSP. IMO the theia and vscode integration already support this pattern very well by maintaining a strong separation between the generic GLSP client package and a platform specific package for customization/glue code. Here the default approach is also to start the server in a separate process which makes it easy to reuse an existing server implementation without much additional effort. The Eclipse Integration in its current state only works with Java-based servers and operates on the assumption that the server is available as Eclipse Plugin. This enables easy integration with the Eclipse Extension API. In the long run we want to refactor the project to be more in line with other integration projects i.e. enable reuse of any existing server implementation (Java or Node) but currently we don't have any resources for that. We rely on sponsored contributions for more sophisticated changes to the Eclipse Integration other than bug fixes and regular updates to new GLSP versions. TLDR: Sharing/Reusing GLSP editors between different platforms is a very important use case for us and we continously work on improving the process and try to reduce the overall effort needed. Please let us now if you encounter any other issues that could be improved in this context. |
Beta Was this translation helpful? Give feedback.
-
Hi @tortmayr , https://github.com/imixs/open-bpmn-eclipse-integration I can build my project with Of course now a lot of errors occur. The root of the Exceptions seems to be inside the Now the problem is that I struggle to debug this because of the unclear version I should use. The project template java-emf-eclipse seems to be very different from the current master branch of glsp-eclipse-integration. It looks to me that the API of the My question is: what should I do? Should I checkout a specific version of the glsp-eclipse-integration to continue with debugging (which version is the correct one?) or should I change the impl of my TaskListServerManager to be compatible with the glsp-eclipse-integration master branch? |
Beta Was this translation helpful? Give feedback.
-
Hi @tortmayr , But when I open a .bpmn file I only get a blank swt browser window. No message on the log :-( https://github.com/imixs/open-bpmn-eclipse-integration Can you give me a tip what I should do? The funny thing - and maybe this is the only hint for the root of the problem - I can still open .wf files and the workflow editor opens up, even when I not have configured it. |
Beta Was this translation helpful? Give feedback.
-
After more analysis I came to the conclusion that the web module in the eclipse So from that assumption, I now re-started the client part once again from scratch and followed the ... but now my yarn build now fails with the error:
Maybe this is from my devDepencency So again I am lost in the node.js dependency hell :-( |
Beta Was this translation helpful? Give feedback.
-
Hi @tortmayr, From all my analyses I think the problem is the bundle.js file which I created with yarn. With some tricks I tested the resoruce URL in an external browser to get a JavaScript Console. When I compare the outcome with the GLSP Workflow example (which works fine) I can see the following javaScript errors:
Can you see from this output something which gives you an idea what I am doing wrong in my webpack? Is there a chance that I can test the webpack part with an external server in VSCode ? |
Beta Was this translation helpful? Give feedback.
-
@rsoika Sorry for the delayed response. I somehow missed the notifications for this thread.
Unfortunately I have never encountered this error and from the output alone I can not make an educated guess about the root cause. |
Beta Was this translation helpful? Give feedback.
-
Hi @tortmayr , I know I'm annoying, but I do not know what to do :-(
Both parts are now working fine. So with my core project I think I am on the right way. But Now I am back to the initial problem: how to write an Eclipse Integration project? And its still the version which are confusing me. You say, the Eclipse target platform definitions are just to give me an easy way to develop my plugin. But I do not see this. The documentation says:
This does not work (or maybe my eclipse is now totally corrupted). Is the emf-example template really based on 1.1.0-RC10? The only way to get my compilation errors resolved is to import the GLSP Eclipse Integration Project version 1.1.0-RC10 into my workspace. In my Editor I still trying to find a mix between GLSP-Eclipse-Integration, GLSP-Examples, and GLSP-Server..... |
Beta Was this translation helpful? Give feedback.
-
Finally it worked!!! 👍 🚀 🎂 🐙 After my third(!) attempt, I finally made it. My Eclipse integration is now based on GLSP v2.1.0. Now it looks relatively promising and to be honest I didn't expect to ever get it done. However, the discussion we have had here is still important and could help others with the integration into Eclipse. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I want to provide my current project Open-BPMN also as a Eclipse Plugin.
The glsp-eclipse-integration project looks to me like an example how to build a Eclipse Tool as a separate Target Platform Project.
This seems to be oversized to me. I just want to give Eclipse Java developers a plugin (simmilar to a VS-Code extension) to add a new editor to their IDE.
From the examples I did not find a starting point how to test the Eclipse integration as a single plugin without the need to build a complete new target platform?
Can someone give me a tip how to bundle my glsp server and client part as a single plugin?
Beta Was this translation helpful? Give feedback.
All reactions