Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: Converting migrate.rul-File to Database Type-Definitions?
Topic Summary:
Created On: 31-Oct-2003 12:49
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.
Answer This question was answered by Pierre Guillet, on Friday, January 23, 2004 1:12 PM

Answer:
Hi,

Instead of using GUI, you can do:
ccm typedef -export -dir your_directory your_type
The exported format is a directory with ascii files. For example for csrc type:
csrc/cvtype
csrc/cvtype/attr.create_time.time
csrc/cvtype/attr.local_bgraph.boolean
csrc/cvtype/attr.modify_time.time
csrc/cvtype/attr.owner.string
csrc/cvtype/attr.status.string
csrc/cvtype/attr.dependency_pattern.text
csrc/cvtype/attr.require_task.string
csrc/cvtype/attr.source_init.text
csrc/cvtype/attr.super_type.string
csrc/cvtype/attr.type_description.string
csrc/cvtype/attr.unix_file_ignore.boolean
csrc/cvtype/attr.unix_file_match.text
csrc/cvtype/attr.win_file_ignore.boolean
csrc/cvtype/attr.win_file_match.text
csrc/attype
csrc/attype/attr.create_time.time
csrc/attype/attr.local_bgraph.boolean
csrc/attype/attr.modify_time.time
csrc/attype/attr.owner.string
csrc/attype/attr.status.string
csrc/attype/attr.super_type.string

You can edit the following files:
csrc/cvtype/attr.unix_file_ignore.boolean
csrc/cvtype/attr.unix_file_match.text
csrc/cvtype/attr.win_file_ignore.boolean
csrc/cvtype/attr.win_file_match.text

the _ignore.boolean with TRUE or FALSE
and _file_match.text with the list of rules: your second column of migrate.rul for the type

After edit use ccm_typedef -import ......

Regards,
 31-Oct-2003 12:49
User is offline View Users Profile Print this message


Matthias Schwellenberg

Posts: 15
Joined: 12-Jun-2003

Hello,

has anyone experiences in how to convert the migrate.rul into the database to the type-definitions?

The only way I see at the moment is to edit the type-definitions via gui per hand and then delete the lines from the migrate.rul-file manually, but that's not very comfortable and takes much time on long migrate.rul-files.

Regards,
Matthias
Report this to a Moderator Report this to a Moderator
 7-Nov-2003 10:13
User is offline View Users Profile Print this message


Pierre Guillet

Posts: 21
Joined: 4-Jul-2003

Answer Answer
Hi,

Instead of using GUI, you can do:
ccm typedef -export -dir your_directory your_type
The exported format is a directory with ascii files. For example for csrc type:
csrc/cvtype
csrc/cvtype/attr.create_time.time
csrc/cvtype/attr.local_bgraph.boolean
csrc/cvtype/attr.modify_time.time
csrc/cvtype/attr.owner.string
csrc/cvtype/attr.status.string
csrc/cvtype/attr.dependency_pattern.text
csrc/cvtype/attr.require_task.string
csrc/cvtype/attr.source_init.text
csrc/cvtype/attr.super_type.string
csrc/cvtype/attr.type_description.string
csrc/cvtype/attr.unix_file_ignore.boolean
csrc/cvtype/attr.unix_file_match.text
csrc/cvtype/attr.win_file_ignore.boolean
csrc/cvtype/attr.win_file_match.text
csrc/attype
csrc/attype/attr.create_time.time
csrc/attype/attr.local_bgraph.boolean
csrc/attype/attr.modify_time.time
csrc/attype/attr.owner.string
csrc/attype/attr.status.string
csrc/attype/attr.super_type.string

You can edit the following files:
csrc/cvtype/attr.unix_file_ignore.boolean
csrc/cvtype/attr.unix_file_match.text
csrc/cvtype/attr.win_file_ignore.boolean
csrc/cvtype/attr.win_file_match.text

the _ignore.boolean with TRUE or FALSE
and _file_match.text with the list of rules: your second column of migrate.rul for the type

After edit use ccm_typedef -import ......

Regards,

-------------------------
Pierre Guillet
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

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