Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » How to deploy sirius editor?
How to deploy sirius editor? [message #1861585] Fri, 20 October 2023 09:03 Go to next message
Leonard Theisler is currently offline Leonard TheislerFriend
Messages: 16
Registered: September 2023
Junior Member
Hi,

I am trying to deploy my editor but I am running into some issues.

I have followed the update site tutorial: https://wiki.eclipse.org/Sirius/Tutorials/UpdateSiteTutorial but I am unable to run the editor. Everything works fine until I reach the last step where I am supposed to select the viewpoint and it does not appear where it should be. Does anyone know what could be wrong? I thought that it could be the model file extension in the properties of the viewpoint in .odesign that could be an issue, but I have tried with * and with the exact file extension of my model and it does not work.

I have also tried to export it as a jar, and to then add it to the eclipse plugin folder like someone I know suggested, but I have had no luck with that either. Does anyone have any input on how this could be acheived?

Thank you
Re: How to deploy sirius editor? [message #1861656 is a reply to message #1861585] Wed, 25 October 2023 14:20 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 705
Registered: July 2009
Senior Member
Hi.

It's difficult to know. Did you get any error or warning when installing the result of the export? (https://wiki.eclipse.org/Sirius/Tutorials/UpdateSiteTutorial#Install_the_modeler)
After restarting Eclipse/Obeo Designer, check in Help > About > Installation Details > Plug-ins to make sure the plug-in is correctly installed (org.eclipse.sirius.sample.family.design if you used the same names as in the tutorial).

> export it as a jar, and to then add it to the eclipse plugin folder

This will not work. The plug-in must be properly *installed* in the Eclipse installation, and this require more than just dropping a JAR.



Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: How to deploy sirius editor? [message #1861718 is a reply to message #1861656] Mon, 30 October 2023 18:04 Go to previous messageGo to next message
Ad Mal is currently offline Ad MalFriend
Messages: 7
Registered: October 2023
Junior Member
I have the same issue. As I understand, the following points must be taken into account:

  • Set the model file extension
  • Check the Activator.java (odesign)
  • Check the installation of the plugin

Neither can the viewport be selected, nor can a representaiton be created. I don't know what else to do.
Re: How to deploy sirius editor? [message #1861737 is a reply to message #1861718] Tue, 31 October 2023 16:32 Go to previous messageGo to next message
Ad Mal is currently offline Ad MalFriend
Messages: 7
Registered: October 2023
Junior Member
I checked if my editor is working properly within my dev environment. Yes, I can create a modeling project, include a model using the wizard, select a viewport and create a representation. So there must be something wrong during the update site creation. Any help?
Re: How to deploy sirius editor? [message #1861803 is a reply to message #1861737] Sat, 04 November 2023 16:00 Go to previous messageGo to next message
Ad Mal is currently offline Ad MalFriend
Messages: 7
Registered: October 2023
Junior Member
Further testing:

I have created a very simple metamodel, see attachment. I have created a simple viewpoint specification project, a feature project and an update site project and proceeded like here https://wiki.eclipse.org/Sirius/Tutorials/UpdateSiteTutorial

But, the are no viewpoints to select. I use Obeo Designer Community 11.8.

Dear community, can you give me a hint, please? I can provide my workspaces.
  • Attachment: Example.jpg
    (Size: 370.93KB, Downloaded 42 times)
Re: How to deploy sirius editor? [message #1861892 is a reply to message #1861803] Fri, 10 November 2023 16:12 Go to previous message
Ad Mal is currently offline Ad MalFriend
Messages: 7
Registered: October 2023
Junior Member
Hello community,

I found out that the Activator class cannot be loaded:

"Plug-in obeo.example.design was unable to load class obeo.example.design.Activator.
java.lang.ClassNotFoundException: obeo.example.design.Activator cannot be found by obeo.example.design_1.0.0.202311041605"

See attachment. The same problem also occurs with other plug-ins that I created with Sirius. Any help?

UPDATE: I installed the "Obeo Designer Community Edition - Extensions" and it seems to work. Apparently some packages were missing. Stupid mistake :-(

Thank you
  • Attachment: errorlog.txt
    (Size: 14.95KB, Downloaded 23 times)

[Updated on: Fri, 10 November 2023 17:10]

Report message to a moderator

Previous Topic:Sirius Desktop: Custom Styles and colors
Next Topic:Metamodeling Deep Neural Networks in Eclipse with Ecore and Transforming to Graph with Sirius
Goto Forum:
  


Current Time: Sun Oct 13 01:25:24 GMT 2024

Powered by FUDForum. Page generated in 0.05094 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top