Community
Participate
Working Groups
Some evolutions are required on the profile: - A constraint on CapsuleParts: Fixed capsule parts cannot have variable multiplicity - A new stereotype RTGuard should be added as an extension of Constraint - The constraint on RTStateMachines should be updated to add terminate pseudostate in the fordidden kind
Plugin versions will be updated to 0.8.0 at the same time (profile has evolved, so all plugins should depend on the new version of this plugin)
Preferably the new feature of the DSML Validation tooling shall be utilized for this update, see Bug 464249 Comment 14 and forward. This new feature partly has it origin from Bug 464387 Comment 14.
New Gerrit change created: https://git.eclipse.org/r/62335
Gerrit change https://git.eclipse.org/r/62335 was merged to [master]. Commit: http://git.eclipse.org/c/papyrus-rt/org.eclipse.papyrus-rt.git/commit/?id=777f1046041ce07d37d75e15e7e18c6b60d2ec1d
I have tested the updated profile a bit. The new message without the "... not valid" at the end looks much better and is less confusing. The updated constraint for RTPseudostate works. I also tested the constraint for multiplicity of capsule parts. For the basic cases where lowerValue is a LiteralInteger and upperValue is an LiteralUnlimitedNatural it works fine. As discussed on the developer mailing list, I also checked the cases when lowerBound and upperBound are specified by LiteralString or OpaqueExpression (related to Bug 482923 and Bug 479350 Comment 2). The good thing is at least that you do not get any incorrect problems reported. Whenever you specify lowerBound/upperBound using a LiteralString/OpaqueExpressin the constraint passes, disregarding if the values of those LiteralStrings/OpaqueExpressions. One could ask if the constraint should be able to detect that lowerValue and upperValue is specified by a LiteralString/OpaqueExpression with different values, e.g. the incorrect case of "MIN".."MAX". The rule should be that both lowerValue and upperValue should have the same (string) value in those cases also (whenever lower > 0). I guess it might be overkill (and maybe not even possible using OCL) to check that. I suggest that we put this one into resolved/verified fixed if we do not see the need to detect the invalid LiteralString/OpaqueExpression cases.
No comment since last December. Assuming that no one saw the need to detect the invalid LiteralString/OpaqueExpression cases. Closing in preparation of v0.8 release