|
Re: viewpoint specification model can not be loaded [message #1848238 is a reply to message #1848226] |
Thu, 25 November 2021 13:47   |
Eclipse User |
|
|
|
Hello Tim,
Well, if you open the odesign in a text editor, you will see that the root element "<description:Group" has a "version" parameter that holds this version number. However, I would not advise to change it manually. We do not have backward automatic migration, but we have upward automatic migration (You open a .odesign done in an older Sirius version and it will automatically migrate to your current version by opening it). As it relies on this version information, changing it manually will probably prevent migration.
I am only guessing but someone probably shared with you an odesign made on a more recent version of Sirius. In that case, I would suggest to update your own environment to match theirs. Otherwise, you may have been working on an environment with Sirius (like the Eclipse Modeling bundle) and then launched a runtime base on a Target Plaform set with an older version of Sirius. In that case, either you update the target platform or you edit the .odesign file only in the runtime environment.
Best regards,
Steve
[Updated on: Thu, 25 November 2021 23:12] by Moderator
|
|
|
|
|
Re: viewpoint specification model can not be loaded [message #1848302 is a reply to message #1848299] |
Sat, 27 November 2021 04:07   |
Eclipse User |
|
|
|
Hi Steve,
Yes, I developed a Sirius modeling plug-in. Under your kind guidance in another topic, it can now be deployed and run normally in the Eclipse environment. Now I want it to break away from the Eclipse environment and become a modeling program that can run independently (plus some other plug-ins, such as algorithms), what should I do?
Do I have to use Tycho?
Or I can create an RCP project first, then add all these developed plug-ins to the contents of the product configuration, and then build the product? If so, how to start the Sirius plugin in the RCP class and where is the entry point?
And also, how to integrate Sirius plugin and core algorithms plugin which processes the models built by the user through the Sirius plug-in?
Best regards,
Tim
[Updated on: Sat, 27 November 2021 08:23] by Moderator
|
|
|
Re: viewpoint specification model can not be loaded [message #1848365 is a reply to message #1848302] |
Mon, 29 November 2021 13:12   |
Eclipse User |
|
|
|
Hi Tim,
Concerning the breaking away from the Eclipse environment, I am not sure if I can answer better than "you cannot". Sirius relies on different Eclipse frameworks such as EMF, GMF, GEF, the Eclipse workbench and so on. If it is the update site installation step that does not suits you, you can create a bundle using Tycho for instance. I mostly change/update our build made with Tycho so I have to admit am not the best to guide you on the build processes (It is a Sirius forum in the end :-P), but you can find some nice tutorials on how to build your own environment.
You can also automatically install the content of your update site from a script using p2 director, if it is better for you. It would look like this:
eclipsec.exe
-application org.eclipse.equinox.p2.director
-console -consoleLog
-repository <path_to_update-site>
-tag <install_feature_something>
-destination <eclipse_installation_folder>
-profile DefaultProfile
-installIU <feature_name_in_update-site>
Best regards,
Steve
|
|
|
|
Powered by
FUDForum. Page generated in 0.03348 seconds