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: 'ccm use' syntax
Topic Summary:
Created On: 10-Apr-2006 07:28
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.
 10-Apr-2006 07:28
User is offline View Users Profile Print this message


Ronen Ben-Chamo

Posts: 84
Joined: 1-Dec-2005

Hi,
I'm trying to use the commnad 'ccm use', but I'm getting error message
ccm use 'AirInterface.h#7'
Invalid object version specification.
Any ideas?


Note:My DB delimiter is '#'

Thanks,
Ronen



-------------------------
Ronen Ben-Chamo
Configuration Managment
Report this to a Moderator Report this to a Moderator
 31-May-2006 14:03
User is offline View Users Profile Print this message


tom Meulendijks

Posts: 7
Joined: 15-Mar-2004

hello,

When you want to use "ccm use" you must already be within the correct directory (watchout for case sensetivity). So you must have write access on the workarea.

The use command expects the four-part name #::

good luck
Report this to a Moderator Report this to a Moderator
 14-Jun-2006 01:52
User is offline View Users Profile Print this message


Velapury Narayana

Posts: 2
Joined: 21-Oct-2005

A single quote is not a good character to indicate a object spec. It cancels the special meaning of all embedded characters within it.


There are two possible solutions:
1. Change PWD to the directory where the file exists and issue the command without any quotes
ex: cd MyDirectory
ccm use file#1

or

2. You can still perform a ccm use just from anywhere. In this case, place them with double-quotes, it should work.
ex: if pwd is c:\
ccm use "C:\MyDirectory\file#1"

This should work if you are using v6.4.

- Narayana



Edited: 14-Jun-2006 at 01:53 by Velapury Narayana
Report this to a Moderator Report this to a Moderator
 16-Oct-2007 00:31
User is offline View Users Profile Print this message


Keith Felt

Posts: 5
Joined: 12-Sep-2006

What would the command-line syntax be for the 'ccm use' command to use a file object in a project which has no workarea? Since there is no "current directory" to be in, how do you specify both the project and path within the project where the object should be used? Thanks!
Report this to a Moderator Report this to a Moderator
 25-Oct-2007 17:09
User is offline View Users Profile Print this message


David Dubreu

Posts: 43
Joined: 21-Aug-2003

Keith,

In my opinion, it is not possible in CLI but only in GUI.

David.
Report this to a Moderator Report this to a Moderator
 7-Nov-2007 13:18
User is offline View Users Profile Print this message


Manjula Gangadhar

Posts: 1
Joined: 5-May-2005

ccm use "calculator-1/makefile-1@calculator-1.1" where calculator-1 is project_directory version_delimiter version makefile-1 is file_name version_delimiter version calculator-1.1 is project_name version_delimiter version Here "-" is version delimiter not dcm delimiter. This should work for both the conditions - work area on or off.

Edited: 7-Nov-2007 at 13:22 by Manjula Gangadhar
Report this to a Moderator Report this to a Moderator
 19-Nov-2007 17:48
User is offline View Users Profile Print this message


David Honey

Posts: 20
Joined: 26-Sep-2002

Originally posted by: Keith Felt

What would the command-line syntax be for the 'ccm use' command to use a file object in a project which has no workarea?

Since there is no "current directory" to be in, how do you specify both the project and path within the project where the object should be used?

Thanks!


You cannot. The problem is that currently there is no way to specify two specific contexts for a single argument. By that I mean, that whatever form you use for the argument is specifying the project context for the object to be added. However, unless you are within a maintained work area, there is no form that also allows you to specify the context project and parent directory under which the new object is to be added.

It is our current intention to address this in the new CLI in 7.0 through supporting an explicit -dir option. Until then, you can only add an object to a project without a maintained work area through the GUI, either the Classic or the Java one.

Regards,
David.
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.