[ATL] Trying to capture record of transformation [message #103875] |
Wed, 22 April 2009 10:22  |
Eclipse User |
|
|
|
For one type from my input model I'd like to capture a
trace of each instance to the output model. I've tried the
following code
rule x {
from in : IN!InType1
to out : OUT!OutType1 (
a <- in.a
),
trace : Trace!TraceLink (
target <- out
)
do {
trace.refSetValue('source', in);
}
}
I get the expected elements in my target trace model, but neither
of the attributes of these elements is set. I'm working with 3.0.0M6
and have tried with both the Regular and EMF specific VMs. Does
anyone have any ideas on what I might have done wrong?
thanks
Andy.
--
-- ------------------------------------------------------------ -------------
Dr Andy Carpenter
School of Computer Science,
University of Manchester, Manchester M13 9PL, UK
Email: Andy.Carpenter@manchester.ac.uk
Tel: +44 161 275 6168
Fax: +44 161 275 6280
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09201 seconds