[ATL] load AADL Model problem [message #90548] |
Fri, 26 September 2008 05:39 |
Eclipse User |
|
|
|
Hi,
I have such a problem when use ATL to read XML files in AADL format (aaxl).
In my AADL file, I use "Allowed_Processor_Binding" property in system
implementation, the file is validated correct. Part of the file is like
this:
system implementation client.impl
subcomponents
t1: processor T1;
the_process: process a_client_process.impl;
the_device: device A_sensor;
--the_bus: bus a_bus;
connections
data port request -> the_process.p_request;
data port the_process.p_response -> response;
properties
Period => 20ms;
Allowed_Processor_Binding => reference t1;
end client.impl;
Then ATL transformation reads the file when running launch file, an
error occurs:
org.eclipse.emf.ecore.xmi.IllegalValueException: Value
'org.eclipse.emf.ecore.impl.DynamicEObjectImpl@886edf (eClass:
org.eclipse.emf.ecore.impl.EClassImpl@db2cce (name:
ProcessorSubcomponent) (instanceClassName: null) (abstract: false,
interface: false))' is not legal.
(platform:/resource/AADL2SIGNAL/model/ATLTestSystem2Property .aaxl, 130, 1)
If I run it again, a different error information:
The feature 'properties' is not a valid feature
If I comment "Allowed_Processor_Binding => reference t1;", no error
appears.
Is there any mistake when I use this "Allowed_Processor_Binding" property?
Can anyone help?
Thanks.
regards
Yue
|
|
|
Powered by
FUDForum. Page generated in 0.03516 seconds