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: Extracting object name with folder names
Topic Summary: Extracting object history attributes
Created On: 18-Sep-2007 16:34
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-Sep-2007 16:34
User is offline View Users Profile Print this message


Ruediger Friedel

Posts: 4
Joined: 27-Jun-2007

For a version description document I'd need to extract all object names and their version number for a particular release.
At the moment I am using the following syntax to gather all my object names and their version:

ccm query "(is_member_of('AAA,INT') and cvtype!='dir')" -f "%name %type %version" -u > aaa_files.txt

Unfortunately we are using the same file names (such as "makefile") in different sub-directories, which makes me wonder if there would be a way (via relationship?) to show the corresponding directory/sub-directory name together with the actual file name?

I am using Telelogic Synergy Release 6.5.4096 SP1-03.

Any help or advice would be appreciated.
-Rudi.

Report this to a Moderator Report this to a Moderator
 16-Oct-2007 00:49
User is offline View Users Profile Print this message


Keith Felt

Posts: 5
Joined: 12-Sep-2006

You might look at the "ccm dir" command (or "ccm ls" on Unix). Something like: ccm dir -s -f "%path %version" would give you the full path name of the files and version. Otherwise you could setup some fancy recursive queries to do: ccm query "has_child('file.txt-1', 'myproj-1')" which would let you find the parent directory...
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 2 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 2 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.