EMFTVM - Resolving source elements in refining mode [message #1066443] |
Tue, 02 July 2013 12:54  |
Eclipse User |
|
|
|
Hi,
I have a simple transformation that for each package creates a subpackage:
rule Package {
from
source : D!Package
to
target : D!Package
(
),
subPackage : D!Package
(
-- this is a containment relationship
package <- target,
name <- 'sub'
)
}
Running it with EMFTVM gives:
org.eclipse.m2m.atl.emftvm.util.VMException: java.lang.IllegalArgumentException: Recursive containment not allowed for xxx.xxx.PackageImpl@21592707 (name: null)
Looks like "target" is resolved to "subPackage".
Not sure if it is a bug and if there is any workaround.
Thanks,
Michal
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.32148 seconds