Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] load AADL Model problem
[ATL] load AADL Model problem [message #90548] Fri, 26 September 2008 09:39
yue ma is currently offline yue maFriend
Messages: 22
Registered: July 2009
Junior Member
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
Previous Topic:[ATL] AADL Model Transformation
Next Topic:[ATL] load a model from plugins
Goto Forum:
  


Current Time: Sat May 04 13:39:02 GMT 2024

Powered by FUDForum. Page generated in 0.03188 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top