Closed yoogx closed 12 years ago
Can you explain a bit about the problem you are experiencing. The plugin should be including all the files necessary. It isn't passing in all the AADL files though. It should be finding all the AADL files that are needed for a specific system implementation. That code is in AbstractOcarinaHandler. I have some older version that just passes in all the AADL files. Is there a problem with the current implementation or is there a scenario where it is necessary to pass in all the files?
OK, my bad, my workspace was in a bad shape. Thanks for clarifying this
Ocarina has two mode of operations
1) either you pass all models as a set of files, e.g. ocarina -aadv2 -g polyorb_hi_c *.aadl
2) or you use -y flag to automatically load files based on a) inclusion of packages, b) a name mapping rule, package Foo::Bar is in file foo-bar.aadl c) the -I flag for adding look up directory
We may implement one or the other, but because of the way OSATE2 manage files, only 1) makes sense. Phil, I think you had code for fetching all AADL files in a workspace. Can you commit it? or sending me the code so that I integrate it? I'd need this feature for a project here.