[aadl]: 转发: errors in an example of AADL-BA code
Etienne Borde
etienne.borde at telecom-paristech.fr
Wed Apr 17 11:55:33 EDT 2013
Dear all,
when you install the BA plugin, you can import in your workspace some BA
examples we distribute with the BA: in the "AADL Navigator" view of
osate, right click then click on New-->Example...-->Behavior Annex, etc...
Luxi Chen, some more comments bellow:
Le 17/04/13 07:55, 璐希 陈 a écrit :
> Dear all,
>
> I resent the email because I found I forgot to attach the aadl code.
> Sorry to trouble you.
> My name is Luxi Chen. I'm a new learner about AADL-BA. Recently, I
> tried some examples from AADL website to show how AADL-BA works, but I
> met some common errors. The attachment is a simple example I download.
> I found several common errors.
If you want this model to be fixed, please indicate its source so as to
identify the author of the model.
> (a) the part for definition "behaivor::integer", AADL-BA will warn me
> "Couldn't resolve reference to DataSubcomponentType 'Behavior::integer'."
The BA plugin searches for a data component names Integer in a package
named Behavior. It seams you don't have this in your workspace. Plus it
would require you put "with Behavior;" at the begining of your AADL model.
I hope the BA examples we provide will help you.
Etienne.
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the Sae-aadl-users
mailing list