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: Help needed with ccm use command
Topic Summary:
Created On: 18-Sep-2008 10:31
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-2008 10:31
User is offline View Users Profile Print this message


Simon Evans

Posts: 6
Joined: 7-Jul-2008

I have created a new project within Synergy, which I want to add as a sub-project to a pre-existing project.

I am trying to achieve this through the CLI with the ccm use command, but each time I try I get a 'Specified directory object cannot be identified' message.

I am doing ccm use from the work area of the project I want to add to, and I am using the correct work area for the sub-project, but I still get an error.

Has anyone had similar problems? Or am I doing something fundamentally wrong with my syntax?

For reference, the command I am using is:

ccm use -p new_subproject-1/new_subproject
Report this to a Moderator Report this to a Moderator
 18-Sep-2008 11:37
User is offline View Users Profile Print this message


Angela Kim

Posts: 29
Joined: 23-Oct-2003

Is the command being run from the directory of the parent project to which you want to add the subproject?

-------------------------
Angela Kim
Report this to a Moderator Report this to a Moderator
 18-Sep-2008 11:44
User is offline View Users Profile Print this message


Simon Evans

Posts: 6
Joined: 7-Jul-2008

Yes it is.
Report this to a Moderator Report this to a Moderator
 18-Sep-2008 11:53
User is offline View Users Profile Print this message


Angela Kim

Posts: 29
Joined: 23-Oct-2003

OK, more simple questions...
Are you the owner for the project?
Is your role set correctly for the type of project (ie-working/developer; prep/build manager)?
Has the directory you are attempting to add the subproject to been checked out?

-------------------------
Angela Kim
Report this to a Moderator Report this to a Moderator
 18-Sep-2008 12:30
User is offline View Users Profile Print this message


Simon Evans

Posts: 6
Joined: 7-Jul-2008

I have checked everything you have suggested, and even re-specified my role etc. The project is also checked out, but still no luck.

When I enter the command including the full work area path of the desired subproject i.e. "ccm use -p /home/p1423517/scripts/test_projects/TEST_PROJECT_EVANS-1/TEST_PROJECT_EVANS/new_subproject-1/new_subproject" I get the error: Path does not exist: '/home/p1423517/scripts/test_projects/TEST_PROJECT_EVANS-1/TEST_PROJECT_EVANS/new_subproject-1', yet I can still 'cd' to the exact same location successfully.
Report this to a Moderator Report this to a Moderator
 18-Sep-2008 12:34
User is offline View Users Profile Print this message


Angela Kim

Posts: 29
Joined: 23-Oct-2003

What directory are you running this command from?

-------------------------
Angela Kim
Report this to a Moderator Report this to a Moderator
 18-Sep-2008 12:49
User is offline View Users Profile Print this message


Simon Evans

Posts: 6
Joined: 7-Jul-2008

home/p1423517/scripts/test_projects/TEST_PROJECT_EVANS-1/TEST_PROJECT_EVANS
Report this to a Moderator Report this to a Moderator
 18-Sep-2008 14:53
User is offline View Users Profile Print this message


Angela Kim

Posts: 29
Joined: 23-Oct-2003

From this directory:
home/p1423517/scripts/test_projects/TEST_PROJECT_EVANS-1/TEST_PROJECT_EVANS
Try running:
ccm use -p new_subproject-1

-------------------------
Angela Kim
Report this to a Moderator Report this to a Moderator
 18-Sep-2008 15:06
User is offline View Users Profile Print this message


Angela Kim

Posts: 29
Joined: 23-Oct-2003

Sorry I should have included my assumption with the command..
parent project is TEST_PROJECT_EVANS-1
subproject to be new_subproject-1

-------------------------
Angela Kim
Report this to a Moderator Report this to a Moderator
 18-Sep-2008 15:12
User is offline View Users Profile Print this message


Simon Evans

Posts: 6
Joined: 7-Jul-2008

I have tried that, but I get the error 'Specified directory object cannot be identified'
Report this to a Moderator Report this to a Moderator
 18-Sep-2008 15:25
User is offline View Users Profile Print this message


Angela Kim

Posts: 29
Joined: 23-Oct-2003

Is the subprojects workarea already under the parent project's work area?
If so, have you tried using the sync command?

-------------------------
Angela Kim
Report this to a Moderator Report this to a Moderator
 18-Sep-2008 15:25
User is offline View Users Profile Print this message


Angela Kim

Posts: 29
Joined: 23-Oct-2003

Is the subprojects workarea already under the parent project's work area?
If so, have you tried using the sync command?

-------------------------
Angela Kim
Report this to a Moderator Report this to a Moderator
 18-Sep-2008 15:33
User is offline View Users Profile Print this message


Angela Kim

Posts: 29
Joined: 23-Oct-2003

Is your work area path defined as absolute or relative?

-------------------------
Angela Kim
Report this to a Moderator Report this to a Moderator
 18-Sep-2008 15:58
User is offline View Users Profile Print this message


Simon Evans

Posts: 6
Joined: 7-Jul-2008

Yes, the subprojects work area is within the parent project's, and I have tried syncing with no success. I have tried with both the parent and child's work area's set to Absolute and Relative.

This is the frustrating thing, I don't actually think there is anything wrong with what I am doing as such. I think I am going to try the same commands on a different server and see if I have any success there and then revisit this if I have any luck.

This is driving me mad at the moment!

Thanks for all your help so far, it is appreciated.
Report this to a Moderator Report this to a Moderator
 18-Sep-2008 16:05
User is offline View Users Profile Print this message


Angela Kim

Posts: 29
Joined: 23-Oct-2003

One last thought.
Turn the work area properties off, for the subproject and make that the reference to the project within the parent projects workarea has been removed.
Then try this again:
From this directory:
home/p1423517/scripts/test_projects/TEST_PROJECT_EVANS-1/TEST_PROJECT_EVANS
Try running:
ccm use -p new_subproject-1

-------------------------
Angela Kim

Edited: 18-Sep-2008 at 16:18 by Angela Kim
Report this to a Moderator Report this to a Moderator
 24-Nov-2008 12:58
User is offline View Users Profile Print this message


Neil Forde

Posts: 2
Joined: 24-Nov-2008

SImon
Report this to a Moderator Report this to a Moderator
 24-Nov-2008 13:06
User is offline View Users Profile Print this message


Neil Forde

Posts: 2
Joined: 24-Nov-2008

Sorry about my last post - must have hit the wrong key.

I expect you may have resolved this as there have been no more posts for a while.

However, assuming you are using Synergy 6.5 or later, this is easily done from the java client. You can simply drag and drop, or copy/paste, the sub-project to the parent project.

Neil
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.