![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Directory for code generation Topic Summary: Created On: 18-Jan-2007 04:50 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Windows, Rhapsody 7, C++, using DefaultComponent
We have a pre-defined Source tree structure and I'm trying to figure out how to get rhapsody to generate code in that structure instead of the default location. I'm not sure what properties need to be modified in the DefaultConfig. Any tips would be appreciated. thanks in advance. cm |
|
![]() |
|
![]() |
|
Open default config -> Settings, then you can change the directory where you want to the code generates to.
James |
|
![]() |
|
![]() |
|
I have a similar question.
We also use a tree with the source code but we also move the c/cpp-files to a subfolder. Is there also a setting for this? Best regards Bjorn |
|
![]() |
|
![]() |
|
Hi guys,
Take a look at the CPP_CG :: Configuration :: DefaultImplementationDirectory and the CPP_CG :: Configuration :: DefaultSpecificationDirectory properties... ------------------------- Jesper Gissel Johnson Controls Denmark, Marine Controls |
|
![]() |
|
![]() |
|
[QUOTE=chandan.mathur@lmco.com]Windows, Rhapsody 7, C++, using DefaultComponent
We have a pre-defined Source tree structure and I'm trying to figure out how to get rhapsody to generate code in that structure instead of the default location. I'm not sure what properties need to be modified in the DefaultConfig. Any tips would be appreciated. thanks in advance. cm[/QUOTE] My favourite method to force Rhapsody to generate code into some predefined directory structure is to explicitly specify this directory structure using files and folders under the corresponding component in the model view and then assign classes to files (in the Features view of the file). Sure, this requires manually creating additional entities and maintaining correspondence between files and classes, but you get direct control over your project's directory tree in one place. Leonid |
|
![]() |
|
![]() |
|
Thanks Jesper,
The property for implementation directory was exactly what I needed. I only wanted to move the C++ files to a sub directory of the configuration, so I don't really need to control all of them in detail. Bjorn |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Directory for code generation
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.