Closed paolo-crisafulli closed 6 years ago
OSATE doesn't support multiple packages per file. The AADL specification neither requires nor forbids it. We are not planning on changing this in OSATE 2.
BTW, the OSATE Google group would be a better place to discuss items like this.
Thank you for your answers (cf. #981), I'll post my next questions to the Google group as suggested.
Hi all, I'm trying to reuse AADL packages from Ocarina in a project that I'm editing with Osate. Ocarina provides a huge .aadl file, ocarina_components.aadl, containing several useful packages definition (sample attached, as .txt file because Github rejects .aadl).
ocarina_components.txt
Osate considers this file as invalid, mainly because it contains more than one package object.
I have checked this fact with a much simpler example:
This won't be parsed by Osate which reports "Incomplete package or property set declaration", referring to the 'package test2' line.
Is this a desirable behavior? In the AADL specification, I can't find a mention of the fact that .aadl files should contain only one package object. Thank you in advance for your help.
Environment: Ubuntu LTS 16.04 Osate 2.3.0 (product version, stable) Ocarina v2017.1