![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: GeneratePackageCode set to smart? Topic Summary: Created On: 30-May-2007 08:32 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello,
do anybody know when there will be no code generated for a package while the property generatePackageCode set to smart. In my model, the package do not have any included element despite of a lot of other package (no files, no classes, ...). Thanks you very much for your help. Best regards Jens |
|
![]() |
|
![]() |
|
Hi there,
normally there shouldn't be any .c and .h file for your package. It works on my project. :-) the Spec sais: [QUOTE]GeneratePackageCode The GeneratePackageCode property (under CG: ![]() to generate package code. This property supports ?smart generation? of the package files. Note: This property is ignored for COM/CORBA and Animation. The possible values are as follows: ? Always?Always generate package files. ? Never?Never generate package files. ? Smart?Generate package files only when the package contains elements that will produce meaningful code. (default = Smart)[/QUOTE] I imagine you habe an "Initializer", a statechart, an activity diagram or something similar within your sub-packages, so that Rhapsody auto-generates initRelations and/or startBehaviour functions ... or GeneratePackageInitialization / ...Cleanup are not set to "Never". What do your Package-.h and .c files contain anyway? If you know their content, you know what to remove / switch off. Cheers - Volker |
|
![]() |
|
![]() |
|
Hi Volker,
The generated .h and .c files contain nothing despite of a #include. No code which is neccessary to compile. So this is why I'm asking, because the behaviour is quite strange there are obviously no elements in that package. |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
GeneratePackageCode set to smart?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.