Home » Eclipse Projects » Sirius » Start from scratch
Start from scratch [message #1738370] |
Tue, 19 July 2016 06:08  |
Eclipse User |
|
|
|
Hello everybody,
is there a tutorial or maybe a video or any other ressource, that explains how to start working with sirius starting with nothing? Everything I can find is always based on the basicfamily - example.
Regards
Lars
|
|
| | | | | | |
Re: Start from scratch [message #1738680 is a reply to message #1738676] |
Fri, 22 July 2016 04:23   |
Eclipse User |
|
|
|
Hi Lars,
Yes, that's unfortunate, you probably have a small issue somewhere in
the registration of your metamodel in your environment, preventing
Sirius to work.
After creating the Ecore model, did you generate the code?
How did you create the example file? Were you able to create it via the
New/Example... wizard? In the Model Explorer view, do you see the
semantic model icon with the "M" decorator and are you able to see to
model element if you expand the tree under the file?
Regards,
Steve
Le 22/07/2016 à 09:41, Lars Both a écrit :
> Hi Steve,
>
> nothing changed when trying as you suggested.
>
> Because I thought, I've messed something up. I tried again:
>
> - create ecore model
> - create MVP based on ecore model
> - created minimalistic representations
>
> This time it validates (for now), but then if I create a modelling
> project and an example file, even with the correct extension, the
> "Viewpoints Selection" won't show my viewpoint.
>
> I've now spent another two hours trying to work around this. Trying
> various clues from this forum. To no avail.
>
> I'll give up a this point. In total I've spent 4 or 5 days on sirius
> now. I'll happily try again should a tutorial or video explaining the
> start-with-nothing-use-case ever exist...
>
> Thanks for your fast responses though! I really appreciate it.
>
> Regards
> Lars
--
Steve Monnier - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Re: Start from scratch [message #1738682 is a reply to message #1738680] |
Fri, 22 July 2016 04:44   |
Eclipse User |
|
|
|
Hi
Perhaps you are hitting
https://bugs.eclipse.org/bugs/show_bug.cgi?id=495611.
Have you Validated your model? the bug suggests that any validation
error may inhibit Siriius.
Did you fix a validation error? the bug suggests that Sirius seems to
remember the error long after the fix. Try a rename.
Regards
Ed Willink
On 22/07/2016 09:23, Steve Monnier wrote:
> Hi Lars,
>
> Yes, that's unfortunate, you probably have a small issue somewhere in
> the registration of your metamodel in your environment, preventing
> Sirius to work.
> After creating the Ecore model, did you generate the code?
> How did you create the example file? Were you able to create it via
> the New/Example... wizard? In the Model Explorer view, do you see the
> semantic model icon with the "M" decorator and are you able to see to
> model element if you expand the tree under the file?
>
> Regards,
> Steve
>
> Le 22/07/2016 à 09:41, Lars Both a écrit :
>> Hi Steve,
>>
>> nothing changed when trying as you suggested.
>>
>> Because I thought, I've messed something up. I tried again:
>>
>> - create ecore model
>> - create MVP based on ecore model
>> - created minimalistic representations
>>
>> This time it validates (for now), but then if I create a modelling
>> project and an example file, even with the correct extension, the
>> "Viewpoints Selection" won't show my viewpoint.
>>
>> I've now spent another two hours trying to work around this. Trying
>> various clues from this forum. To no avail.
>>
>> I'll give up a this point. In total I've spent 4 or 5 days on sirius
>> now. I'll happily try again should a tutorial or video explaining the
>> start-with-nothing-use-case ever exist...
>>
>> Thanks for your fast responses though! I really appreciate it.
>>
>> Regards
>> Lars
>
>
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
|
|
| | | | | | | | |
Re: Start from scratch [message #1738830 is a reply to message #1738825] |
Mon, 25 July 2016 05:56   |
Eclipse User |
|
|
|
Hello,
Great, I am glad you solved your issue.
Regards,
Steve
Le 25/07/2016 à 11:14, Lars Both a écrit :
> I just found this entry:
>
> https://www.eclipse.org/forums/index.php/m/1736069/?srch=selection#msg_1736069
>
>
> After following what Laurent Fasani suggested, my current problems are
> gone. At least with another new very simple ecore model. I'll now try
> with my model.
>
> This is what I had to do:
>
> Quote:
>> As said in the previous post, a good way is to generate meta model in
>> your dev eclipse and launch a runtime in which you can:
>> 1- create your modeling project and a an instance of your model(It is
>> available as your meta model is deployed in your runtime)
>> 2- create a VSP [1]
>> 3- activate the viewpoint on your modeling project
>>
>> So each time you change your meta model, restart your runtime
>> In your runtime instance, if you call service[2] in your VSM (odesign)
>> with service: or aql: interpreter, you can directly test it in your
>> modeling project even if the VSP plugin is not deployed.
>
>
> Finally something good happened on an monday morning. Let's see what the
> week brings ;)
--
Steve Monnier - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Re: Start from scratch [message #1738837 is a reply to message #1738830] |
Mon, 25 July 2016 06:24   |
Eclipse User |
|
|
|
Hi
Has a bug been raised for this?
It seems clear that the current ergonomics are such as to drive some new
users to distraction and no doubt cause the less co-operative or
persistent to just give up.
Regards
Ed Willink
On 25/07/2016 10:56, Steve Monnier wrote:
> Hello,
>
> Great, I am glad you solved your issue.
>
> Regards,
> Steve
>
> Le 25/07/2016 à 11:14, Lars Both a écrit :
>> I just found this entry:
>>
>> https://www.eclipse.org/forums/index.php/m/1736069/?srch=selection#msg_1736069
>>
>>
>>
>> After following what Laurent Fasani suggested, my current problems are
>> gone. At least with another new very simple ecore model. I'll now try
>> with my model.
>>
>> This is what I had to do:
>>
>> Quote:
>>> As said in the previous post, a good way is to generate meta model in
>>> your dev eclipse and launch a runtime in which you can:
>>> 1- create your modeling project and a an instance of your model(It is
>>> available as your meta model is deployed in your runtime)
>>> 2- create a VSP [1]
>>> 3- activate the viewpoint on your modeling project
>>>
>>> So each time you change your meta model, restart your runtime
>>> In your runtime instance, if you call service[2] in your VSM (odesign)
>>> with service: or aql: interpreter, you can directly test it in your
>>> modeling project even if the VSP plugin is not deployed.
>>
>>
>> Finally something good happened on an monday morning. Let's see what the
>> week brings ;)
>
>
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
|
|
| | | | | | | | |
Goto Forum:
Current Time: Wed Mar 19 09:48:16 EDT 2025
Powered by FUDForum. Page generated in 0.04769 seconds
|