Home » Eclipse Projects » Sirius » Sample Model in Tutorial(Cannot find/install the sample model on which the tutorial is based on.)
| | | |
Re: Sample Model in Tutorial [message #1215908 is a reply to message #1212075] |
Thu, 28 November 2013 08:39 |
Esteban Dugueperoux Messages: 472 Registered: July 2009 |
Senior Member |
|
|
Hi Alexander,
Indeed there miss some preleminary steps before following the video
tutorial that I list here :
1. Install Sirius using instructions from
http://www.eclipse.org/sirius/download.html
2. Install the optional feature "Sirius Samples" which include the Ecore
modeler to see a graphical representation of the metamodel as shown at
the beginning of the video
3. Import the family.zip in attachement, we should get 3 projects
corresponding to the DSL used in the video
4. Open the "org.eclipse.sirius.sample.basicfamily" project and double
click on basicfamily.aird in model folder, expand the chilren until
"basicfamily package entities" and double click on it to open the
graphical representation of the DSL as shown in the video
5. From these 3 plugin projects, launch a Eclipse runtime with
sufficient JVM memory, "-XX:MaxPermSize=256m -Xms40m -Xmx512m" for example.
6. In the runtime go to the Sirius perspective and create a Modeling
Project, paste in it the attached example.basicfamily. Here you can
browse your example model as shown in the video
7. From now you can follow the video to create your modeler based on
basicfamily DSL.
We will improve this get started to have these missing informations.
Thanks for your feedbacks.
Best Regards.
Le 26/11/2013 20:02, Alexander Rettner a écrit :
> Hi Esteban,
>
> you are right, I am talking about the video on
> http://www.eclipse.org/sirius/getstarted.html.
>
> I am having difficulties with your files, cause I don't know how to
> handle them.
>
> What kind of project is the one with name basicfamily.sample, which can
> be seen in the Model Explorer view from the video? Can you provide the
> project, which contains the sample model?
|
|
| | |
Re: Sample Model in Tutorial [message #1220560 is a reply to message #1220498] |
Thu, 12 December 2013 14:35 |
|
Hi
First of all, thanks for your interest in Sirius.
The Sirius 0.9.0 release brings the correction of bug #420151 [1] which
moves the sample Ecore modeler into a separate feature and renames the
plugin org.sirius.pim.ecore.design into org.sirius.sample.ecore.design.
The aird file contained in the family.zip of the previous message still
references the Viewpoint "Design" from org.sirius.pim.ecore.design plugin.
You have to solutions:
. Right-clic the and clic on Viewpoints selection, then activate the
Viewpoint "Design", a "basicfamily package entities" diagram will be
available as shown in the video.
. Get the attached updated files, the aird file has been corrected.
Regards,
Maxime
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=420151
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
| |
Re: Sample Model in Tutorial [message #1225772 is a reply to message #1225739] |
Mon, 30 December 2013 18:59 |
|
Hi Wolfgang,
Le 30/12/2013 18:41, Wolfgang Haug a écrit :
> Maxime,
> I still have the same problems as Julien.
> I imported the projects from the newly attached zip file, but I still
> cannot expand the model files, as described.
> The other solution you propsed was
> "Right-clic the and clic on Viewpoints selection, then activate the
I wanted to write: Right-clic the
'org.eclipse.sirius.sample.basicfamily' Modeling project and clic on the
'Viewpoints selection' contextual menu entry, ...
> Viewpoint "Design", a "basicfamily package entities" diagram will be
> available as shown in the video."
> but I must admit I didn't get your point.
> Can you give me some further hints?
The aird files contain the representations (diagram, table, tree)
related data. The aird from the first attached zip references a
Viewpoint which has been moved to another plugin. The zip I attached
contains an aird whose URIs to the moved Viewpoint have been corrected.
> Regards and Thanks
> Wolfgang
>
Regards,
Maxime
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
| | | | | | |
Re: Sample Model in Tutorial [message #1236577 is a reply to message #1236535] |
Mon, 27 January 2014 15:24 |
|
Le 27/01/2014 15:11, alain spiewek a écrit :
> Hello,
Hi Alain,
> I have similar problem. I've just dowloaded Eclipse Modeling Tools
> (Kepler SR1) and Sirius 0.9 from sirius official site.
> I've used either family.zip from sirius site or the one attached by Maxime
> Problem I'm facing is the following with both zip files:
> - I can expand basicfamily.ecore and basicfamily.genmodel files
> - I can't expand basicfamily.aird!
> - when right clicking on org.eclipse.sirius.sample.basicfamily and
> selecting Viewpoint selection, there is nothing to select !
>
> I should have missed something in my eclipse set up somewhere, but what
> and where?
In which perspective are you ? I think your active perspective is the
Java one. You have to open the Modeling [1] or Sirius [2] perspectives
to get all the required views, wizards and menu to use Sirius.
> Another request, is it possible to download the video from another site
> then youtube? My company is blocking YouTube, no way then to see it...
It is now possible to download the video from [3] and it should be added
to the Sirius website soon.
>
> Thanks
>
Regards,
Maxime
[1]
http://www.eclipse.org/sirius/doc/user/general/Modeling%20Project.html#ModelingPerspective
[2]
http://www.eclipse.org/sirius/doc/specifier/general/Specifying_Viewpoints.html#vsp
[3] http://www.obeo.fr/videos/sirius/Sirius%20-%20Getting%20Started.mp4
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
| |
Re: Sample Model in Tutorial [message #1236904 is a reply to message #1236894] |
Tue, 28 January 2014 10:53 |
|
Hi,
Le 28/01/2014 11:14, alain spiewek a écrit :
> I confirm I'm in Sirius perspective. same issue in Modeling perspective
>
> in a previous message, you wrote:
>>> 2. Install the optional feature "Sirius Samples" which include the
>>> Ecore modeler to see a graphical representation of the metamodel as
>>> shown at the beginning of the video
>
> I did not find this feature, where can I find it ? Is it mandatory?
> Is Ecore part of the 0.9 Sirius release ?
You should see the Sirius Samples (Incubation) item (child of the Sirius
item) in the Sirius 0.9 update site [1]
>
> In the same message, you wrote:
>>> >> 4. Open the "org.eclipse.sirius.sample.basicfamily" project and
>>> double click on basicfamily.aird in model folder, expand the chilren
>>> until "basicfamily package entities" and double click on it to open
>>> the graphical representation of the DSL as shown in the video
>
> I imported project, I'm able to see aird file in model folder but
> nothing happened when I double click on it. I'm not able to expand it, I
> cannot then go further ...
If Sirius is installed, and if you are in the Sirius or Modeling
perspective and in the Model Explorer view, the double clic on the aird
file should load and init the required elements and then you should be
able to expand it to open the contained diagram.
>
> It seems that my Eclipse config is not complete!
> which resource is required to interpret aird file? where can I find it ?
> Is it linked to the 'Sirius Samples' project ?
Sirius is required to interpret aird files. And for each aird, the
representation specification files (odesign, can be deployed in plugins)
are required to be able to display the contained representations
In the family sample case, the aird requires a sample Ecore Viewpoint
which is provided in the Sirius Sample feature.
>
> Thanks for your support
>
Regards
Maxime,
[1] http://download.eclipse.org/sirius/updates/releases/0.9.0/kepler
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
| | |
Re: Sample Model in Tutorial [message #1424647 is a reply to message #1420568] |
Tue, 16 September 2014 08:17 |
|
Hi
Le 10/09/2014 13:10, MG Gharib a écrit :
> Hi guys, I have some problems related to the same example, when I reach
> the point to create edges in the pallet there is a problem related the
> variables I use. For example, when I use [not father.oclIsUndefined()/]
I think you simply should write [not(father.oclIsUndefined())/]
> I get "unrecognized variable " for "father". Similarly, I get the same
> message concerning the variables "members" and "parents".
>
> Any suggestions?
--
Maxime - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
| |
Goto Forum:
Current Time: Thu Apr 25 11:58:29 GMT 2024
Powered by FUDForum. Page generated in 0.04973 seconds
|