OpenAADL / ocarina

AADL model processor: mappings to code (C, Ada); Petri Nets; scheduling tools (MAST, Cheddar); WCET; REAL
http://www.openaadl.org
Other
64 stars 29 forks source link

OCARINA should parse by default AADLv2 files #53

Open pgaufillet opened 8 years ago

pgaufillet commented 8 years ago

Nowadays, the active AADL version is 2.x and OCARINA should be aligned on it. It may be solved by a build configuration switch looking like:

./configure --aadlv[12] --aadlv[12]-by-default

or more simple, keep only the second argument:

./configure --aadlv2-by-default

and embedd systematically aadl v1 and aadl v2 parsers.

yoogx commented 8 years ago

Ocarina embeds both parser all the time ocarina -aadlv2 -> use v2 parser ocarina -aadlv1 -> use v1 parser ./configure --aadlv2 -> v2 parser default, no need to add -aadlv2 ./configure defaults to ocarina -aadlv1

Using AADLv2 as default requires an update of all scenario files for PolyORB-HI/C and PolyORB-HI/Ada, I'll keep this as enhancement request.

For your own usage, simple use configure with --with-aadl-version=v2

pgaufillet commented 8 years ago

Thanks for these precisions. That's what I thought I had done (and ./config.status --config confirmed it) but it seems something had gone wrong somewhere. make distclean; ./support/reconfig; ./configure --...; make install solved the issue.

Autoconf should propose anyway AADLv2 by default as AADLv1 is almost not used anymore.