osate / osate2

Open Source AADL2 Tool Environment
http://osate.org
Eclipse Public License 2.0
36 stars 8 forks source link

Property applicability clause to classifiers not recognized. #120

Closed dblouin closed 11 years ago

dblouin commented 11 years ago

In the AADL V2, it should be possible to declare a property definition whose applicability is restricted to a classifier instead of a category, like for property "test_prop_def_restricted" in the following code snippet:

property set test_properties is with test_package; test_prop_def : aadlinteger applies to (processor); test_prop_def_restricted : aadlinteger applies to (test_package::Test_Proc); end test_properties;

When we want to create a property association in the classifier that the property applies to, an error is displayed saying that the property does not apply to the component:

package test_package public with test_properties; processor Test_Proc properties test_properties::test_prop_def => 1; test_properties::test_prop_def_restricted => 1; end Test_Proc;

    processor Test_Proc2
        properties
            test_properties::test_prop_def => 1;
            test_properties::test_prop_def_restricted => 1;
    end Test_Proc2;

end test_package;

juli1 commented 11 years ago

Dear Dominique,

This bug would be fixed in the current develop release. Please let us know if you experience other issues.

Best regards,