creating multiple targets in HOT [message #1267417] |
Sat, 08 March 2014 19:58  |
Eclipse User |
|
|
|
Hi,
I'm trying to write a HOT transformation that takes a weaving model as input and should create an ATL transformation as output. In my HOT I have a rule which should create multiple targets (rules) :
rule createMultipleRules{
from
amw : AMW!linkType1
to
atl1 : ATL!CalledRule (
name <- 'ATLrule1',
outPattern <- amw.Target),
atl2 : ATL!CalledRule (
name<-'ATLrule2',
outPattern<-amw.Target)
}
I can run the code without any error but the problem is only first target (atl1) is created and the compiler ignores the second target.
Am I missing something here?
Thanks,
Azadeh
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.27069 seconds