HUTN load multiple metamodels [message #722464] |
Mon, 05 September 2011 16:49  |
Eclipse User |
|
|
|
I'm either approaching this in the wrong way or am missing something simple, but I don't seem to be able to load two meta-models in the @spec in the way shown in forum post.
What I am trying to do can be summed up as
MetaModel 1 {
abstract Class 1 {val[*] 1 children}
Class 1a extends 1
Class 1b extends 1
...
}
MetaModel 2 {
Class 2a extends 1a
Class 2b extends 1b
Class 2c extends 1a
...
}
Works fine
Then in HUTN I want to create a model that can have both meta model 2 & 1 children i.e.
Root{
1a children: 1a,2b,2c,2b,1b
}
I've tried:
@Spec {
metamodel "One" {
nsUri: "App.Models.One"
}
metamodel "Two" {
nsUri: "App.Models.Two"
}
}
Root{
1a
{...
But get an error symbol at metamodel "Two" with no error message.
Anyone have any ideas?
|
|
|
|
Powered by
FUDForum. Page generated in 0.07013 seconds