|
It is currently Mon Feb 06, 2012 3:20 am
|
View unanswered posts | View active topics
| Welcome |
|
Welcome to RHAPSODY4YOU
You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today. |
 |
|
 |
|
| Author |
Message |
|
Dominique
|
Post subject: Roundtripping: Using Illegal name "x" for Package Posted: Mon Mar 16, 2009 9:29 pm |
Joined: Thu Feb 26, 2009 5:25 pm Posts: 8
|
|
With Rhapsody 7.4 I am getting this whenever I change a source file. Often, the ultimate effect is that Rhapsody crashes. Effectively I am unable to edit my code in the editor and have the model update.
Rhapsody reports: Using Illegal name "x" for Package, where "x" is the name of the package that holds the element being edited. I have tried with different packages.
Any suggestions?
Thanks
Dominique
|
|
|
|
 |
|
Mickey
|
Post subject: Posted: Tue Mar 17, 2009 1:39 pm |
Joined: Thu Aug 30, 2007 4:31 pm Posts: 152 Location: Germany
|
|
doesn't look like a feature .. can you attach the model ... ?
|
|
|
|
 |
|
Dominique
|
Post subject: Posted: Tue Mar 17, 2009 6:39 pm |
Joined: Thu Feb 26, 2009 5:25 pm Posts: 8
|
|
Unfortunately I cannot post my model, and this is a bug that is not always easy to create a model and reproduce.
Fortunately I was able to use config management and reverted to a model that does work.
Basically the model must have become corrupt. This happens occasionally and normally we recover. Sometime drastic action, like reverting to a previous known good state, is all that we can do.
|
|
|
|
 |
|
Mickey
|
Post subject: Posted: Tue Mar 17, 2009 8:38 pm |
Joined: Thu Aug 30, 2007 4:31 pm Posts: 152 Location: Germany
|
|
or at least a screenshot ..
are you using different names for different elements .. so never do something like
PackaName: Hello
ClassName in that package : Hello
because Rhapsody generates code for packages and for classes
So here in both cases hello.h and hello.cpp for the package then hello.h and hello.cpp for the class which overwrites the package code ... argh...
better is
Hello_PKG
Hello
|
|
|
|
 |
|
Dominique
|
Post subject: Posted: Tue Mar 17, 2009 8:53 pm |
Joined: Thu Feb 26, 2009 5:25 pm Posts: 8
|
|
This gets more bizarre. Starting with a 'good' model, I add a new package and class and the errors start again. Modifying existing elements is OK.
I have checked that we are not naming classes the same as packages (already been burned by that one!).
Other things that I observe:
* I keep on getting a do you want to roundtrip message when I generate because the existing cpp file is more recent than the model. But I have already roundtripped so the model should be OK.
* The active code view window does not work properly. It does not always show the code for a selected class even though the class is in scope (and has been generated). DMCA is set to BiDirectional.
Thanks for weighing in on this.
|
|
|
|
 |
|
|
 |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|