Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: Directory for code generation
Topic Summary:
Created On: 18-Jan-2007 04:50
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 18-Jan-2007 04:50
User is offline View Users Profile Print this message


Chandan Mathur

Posts: 3
Joined: 28-Sep-2005

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
Report this to a Moderator Report this to a Moderator
 21-Jan-2007 06:10
User is offline View Users Profile Print this message


James Deng

Posts: 8
Joined: 11-Apr-2006

Open default config -> Settings, then you can change the directory where you want to the code generates to.


James
Report this to a Moderator Report this to a Moderator
 24-Jan-2007 19:21
User is offline View Users Profile Print this message


Bjorn Carlson

Posts: 5
Joined: 22-Jan-2007

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
Report this to a Moderator Report this to a Moderator
 24-Jan-2007 23:36
User is offline View Users Profile Print this message


Jesper Gissel

Posts: 88
Joined: 20-Jul-2005

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
Report this to a Moderator Report this to a Moderator
 1-Feb-2007 08:19
User is offline View Users Profile Print this message


Leonid Ryzhyk

Posts: 10
Joined: 27-Sep-2006

[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
Report this to a Moderator Report this to a Moderator
 8-Feb-2007 18:49
User is offline View Users Profile Print this message


Bjorn Carlson

Posts: 5
Joined: 22-Jan-2007

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
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.