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: #includes to external files (Rhapsody 6.1 C)
Topic Summary:
Created On: 4-Apr-2007 07: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.
 4-Apr-2007 07:50
User is offline View Users Profile Print this message


Jens Konnertz

Posts: 10
Joined: 21-Feb-2007

Hi everyone,

I like to do the following thing in Rhapsody for C 6.1
I do have an external file (or header file) describing an interface for example.

So I reverse engineered this file into rhapsody and checked the property "use as external". Now I moved this included file somewhere into the model to achieve our common model package structure.

If I now define a usage-dependency to that file it will generate a #include statement which includes the whole path (corresponding the model package structure).

Is there any possibility to define the "real" location of an external file, because in our case the model package structure does not match with the folder structure of our build process.

Thank you!

Best regards
Jens Konnertz
Report this to a Moderator Report this to a Moderator
 18-Apr-2007 01:40
User is offline View Users Profile Print this message


Jeremiah Jordan

Posts: 1
Joined: 30-Aug-2006

[QUOTE=Jens.Konnertz.ICS@eads.com]Hi everyone,
Is there any possibility to define the "real" location of an external file, because in our case the model package structure does not match with the folder structure of our build process.
[/QUOTE]

The "File" property under CG.<ModelElement> should be what you are looking for.
Report this to a Moderator Report this to a Moderator
 19-Apr-2007 10:58
User is offline View Users Profile Print this message


Jens Konnertz

Posts: 10
Joined: 21-Feb-2007

OK! This will work if you do not set the "GenerateDirectoryPerModelComponent" property.
But if you do not set this property, then you will receive a very flat generation output, which is no good (especially if you have a lot of files).

Thanks any way.
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.