EMFTVM - Sequences [message #1064324] |
Tue, 18 June 2013 13:27  |
Eclipse User |
|
|
|
Hi,
I am not sure if this is a bug in EMFTVM or I am doing something wrong. Consider the following transformation:
-- @atlcompiler emftvm
-- @nsURI E=[ECore uri]
module addCapabilities;
create OUT : E refining IN : E;
rule package {
from
p : E!EPackage
to
out : E!EPackage
(
eClassifiers <- p.eClassifiers->including(c)
),
c : E!EClass
(
name <- 'c1'
)
}
rule class {
from
c : E!EClass
to
out : E!EClass
(
)
}
After running this transformation on a simple model with an EPackage containing one EClass the result has an EPackage containing a new EClass but original EClass is not included in the EPackage!
Is there something wrong with the transformation?
Thanks,
Michal
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03320 seconds