![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Dynamic Model Code Associativity Topic Summary: Created On: 4-May-2006 07:53 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I have a problem with the Dynamic Model Code Associativity in Rhapsody 6.1.
I created a Java project and set the Dynamic Model Code Associativity to "Bidirectional" because I want code changes to apppear in the model. If I use Rhapsody's "Active Code View" to add an additional attribute to a class or maybe change the constructor, all changes are lost the moment I press Ctrl+S or the "Active Code View" window loses focus. It simply doesn't behave bidirectional. Model changes appear in the code immediately but code changes always are lost. Maybe there is an option somewhere in the component or configuration settings to correct this behaviour of Rhapsody? The only way I can possibly work is setting DMCA to "None" but I will have inconsistencies between my models and the code then. I also noticed that Rhapsody places code fragments added via the feature dialogue of a function inside //#[ ... //#] tags. Code inside those tags is not touched by Rhapsody but this doesn't help with my understanding of bidirectional... I am looking forward to any suggestion. ![]() |
|
![]() |
|
![]() |
|
Hi
I've just tried this with RiC++ 6.1MR1, build 678510, and DMCA seems to work well; I can add an attribute, modify the parameter list for a constructor, add code to a constructor and it all gets round-tripped into the model. (In the case of an attribute, Rhapsody pulls the attribute in, then writes it back out with setter and getter.) So, perhaps this issue is Java-specific... On the suggestions front ? have you tried specific round-tripping with DMCA off, using the Code\Roundtrip menu option? This would help to identify whether the problem is specific to DMCA or a general issue with Java roundtripping. I appreciate that's of limited help... maybe it's one for [URL=mailto:support@ilogix.com]I-Logix support[/URL]... regards, Simon ------------------------- Simon Morrish simon.morrish@eu.panasonic.com http://panasonic.co.uk Panasonic ideas for life |
|
![]() |
|
![]() |
|
It seems to be a problem with Rhapsody for Java. My Rhapsody for C++ behaves just fine.
I tried roundtripping with DMCA set to "none" in the Java version and it doesn't work either. Attributes entered in the dynamic code view are not pulled into the model. I-Logix support kindly informed me that they can't help because we are in the University program since 2005 and don't pay for our licenses anymore like all the years before *shrug*. |
|
![]() |
|
![]() |
|
Hello,
In RiJ, Round-Trip is only for bodies of operations and for actions in Statecharts. In other words, DMCA will update changes inside bodies/actions but not e.g. attributes. Regards, Beery |
|
![]() |
|
![]() |
|
Ok, good to know that. Documentation is a bit blurred and often doesn't make a difference between Java and C/C++. So, some parts (e.g. event generation macros) are documented "Rhapsody for C/C++" specific.
Anyway, thank you for answering ![]() |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Dynamic Model Code Associativity
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.