Getting started with EML [message #532719] |
Tue, 11 May 2010 01:25 |
|
Hi everyone,
I'm very new to Epsilon and modelling in general. I have been looking at the site for the past few days looking for information on how to get started with Epsilon and EML in general. I have read the chapters I think are relevant to what I want to do but I'm am still unsure how to start.
I have an ecore model that I want to right some merge rules for and was wondering how I can do this? Also is there somewhere I can get more familiar with the syntaxs and semantics of the languages as the book only seems to cover one or two examples. Maybe a tutorial or something??
Thanks,
Ferg
|
|
|
|
Re: Getting started with EML [message #532727 is a reply to message #532722] |
Tue, 11 May 2010 03:01 |
|
Hi Steve,
Thanks for the suggestion. I will have a look at them and see if I can gleam an insight. I'm sure they will be helpful to a point. As you are only starting with Epsilon, where did you find most helpful with learning how to get started?
I think this is my main problem and also learning to set up my project for Epsilon as I am new to Eclipse. Maybe the syntax is common from some other language I could look at?
Thanks again ,
Ferg
|
|
|
|
Re: Getting started with EML [message #533021 is a reply to message #532862] |
Tue, 11 May 2010 22:16 |
|
Hi Dimitris,
Thanks I found the screencasts quite helpful. I'm having trouble figuring out how I merge two parts of a model. What I am trying to do is as follows:
I have two tree like structures. One has the node A, B and C. A is the root node and B and C are the leaves. Together they are known as a fragment A_F.
I have another fragment B_F, with a tree strucuture B and D. B is the root node and D is a subnode.
What I am trying to do is merge the two fragments at the node B i.e the one in common. The output model I wish to have would be something like A with subnodes B and C. and B with a subnode D.
I have created an EML file but do I also require a ECL to do a comparison between the nodes first?
Thanks,
Ferg
|
|
|
|
|
|
Re: Getting started with EML [message #534369 is a reply to message #534087] |
Tue, 18 May 2010 21:17 |
|
Hi,
So I have tried to run the example for ECL/EML. I built the two EMF models from the code and added both models to the ECL run configuration.
I keep getting this error so I must be doing something wrong still.
java.lang.NullPointerExceptionjava.lang.NullPointerExceptionType 'Source!System' not found (C:\Users\Fuagaru\workspace\ModelMerge\Comparison.ecl@2:19)
If you have any ideas or you need more information from me I can provide.
Maybe I haven't created the models right or configured the runtime correct.
Thanks,
Ferg
[Updated on: Tue, 18 May 2010 21:17] Report message to a moderator
|
|
|
|
Re: Getting started with EML [message #534380 is a reply to message #534376] |
Tue, 18 May 2010 22:07 |
|
Hi Dimitrios,
I did this step. I wasn't able to select the models to add to the run config without it but I'm still getting this error.
I registered both .ecores, created the EMF models. I then created the ECL file and for the run config I went to the models tab and added the two models with the names Source and Vocabulary.
Cheers,
Ferg
|
|
|
|
Re: Getting started with EML [message #589173 is a reply to message #532862] |
Tue, 11 May 2010 22:16 |
|
Hi Dimitris,
Thanks I found the screencasts quite helpful. I'm having trouble figuring out how I merge two parts of a model. What I am trying to do is as follows:
I have two tree like structures. One has the node A, B and C. A is the root node and B and C are the leaves. Together they are known as a fragment A_F.
I have another fragment B_F, with a tree strucuture B and D. B is the root node and D is a subnode.
What I am trying to do is merge the two fragments at the node B i.e the one in common. The output model I wish to have would be something like A with subnodes B and C. and B with a subnode D.
I have created an EML file but do I also require a ECL to do a comparison between the nodes first?
Thanks,
Ferg
|
|
|
|
|
|
Re: Getting started with EML [message #589275 is a reply to message #534087] |
Tue, 18 May 2010 21:17 |
|
Hi,
So I have tried to run the example for ECL/EML. I built the two EMF models from the code and added both models to the ECL run configuration.
I keep getting this error so I must be doing something wrong still.
java.lang.NullPointerExceptionjava.lang.NullPointerException Type 'Source!System' not found (C:\Users\Fuagaru\workspace\ModelMerge\Comparison.ecl@2:19)
If you have any ideas or you need more information from me I can provide.
Maybe I haven't created the models right or configured the runtime correct.
Thanks,
Ferg
|
|
|
|
Re: Getting started with EML [message #589288 is a reply to message #534376] |
Tue, 18 May 2010 22:07 |
|
Hi Dimitrios,
I did this step. I wasn't able to select the models to add to the run config without it but I'm still getting this error.
I registered both .ecores, created the EMF models. I then created the ECL file and for the run config I went to the models tab and added the two models with the names Source and Vocabulary.
Cheers,
Ferg
|
|
|
|
Powered by
FUDForum. Page generated in 0.06537 seconds