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: CLI Use without work area?
Topic Summary: Does the use command work without a work area?
Created On: 26-May-2006 18:47
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 Steven Cohn, on Tuesday, May 30, 2006 3:03 PM

Answer:
Yes, you are correct; the project reference form can be used from the CLI to use a subproject without a work area.  So the command:

ccm use ModGroup\Mod~cohns_MOD@ModGroup~cohns_MOD

will use the subproject Mod~cohns_MOD within the grouping project ModGroup~cohns_MOD

Excellent!  Thank you.
 26-May-2006 18:47
User is offline View Users Profile Print this message


Steven Cohn

Posts: 5
Joined: 24-May-2006

Obviously the classic UI allows you to use a specific version of a subproject within a grouping project even if that grouping project does not currently maintain a work area.

Is it possible to do this from the CLI?  Whenever I use the 'ccm use' command on a project without a work area it just returns "Invalid object version specification".

Thanks,
\Steven
Report this to a Moderator Report this to a Moderator
 29-May-2006 11:23
User is offline View Users Profile Print this message


Toni Arte

Posts: 30
Joined: 16-Aug-2004

The 'ccm use' command does not really support all the functionality of the GUI ('Add Object' and 'Use' GUI operations) if a work area is not maintained. Without the work area you can only replace an existing object with the recommended version (the version reconfigure would select) or replace an existing object with it's immediate predecessor in the history, by using the 'project reference format'. The project reference format is not described in the 'ccm use' help, but you can find it from the help of 'ccm unuse' command.

Edited: 29-May-2006 at 11:24 by Toni Arte
Report this to a Moderator Report this to a Moderator
 30-May-2006 15:03
User is offline View Users Profile Print this message


Steven Cohn

Posts: 5
Joined: 24-May-2006

Answer Answer
Yes, you are correct; the project reference form can be used from the CLI to use a subproject without a work area.  So the command:

ccm use ModGroup\Mod~cohns_MOD@ModGroup~cohns_MOD

will use the subproject Mod~cohns_MOD within the grouping project ModGroup~cohns_MOD

Excellent!  Thank you.
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.