![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: Help needed with ccm use command Topic Summary: Created On: 18-Sep-2008 10:31 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
Is the command being run from the directory of the parent project to which you want to add the subproject?
------------------------- Angela Kim |
|
![]() |
|
![]() |
|
Yes it is.
|
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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. |
|
![]() |
|
![]() |
|
What directory are you running this command from?
------------------------- Angela Kim |
|
![]() |
|
![]() |
|
home/p1423517/scripts/test_projects/TEST_PROJECT_EVANS-1/TEST_PROJECT_EVANS
|
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
I have tried that, but I get the error 'Specified directory object cannot be identified'
|
|
![]() |
|
![]() |
|
Is the subprojects workarea already under the parent project's work area?
If so, have you tried using the sync command? ------------------------- Angela Kim |
|
![]() |
|
![]() |
|
Is the subprojects workarea already under the parent project's work area?
If so, have you tried using the sync command? ------------------------- Angela Kim |
|
![]() |
|
![]() |
|
Is your work area path defined as absolute or relative?
------------------------- Angela Kim |
|
![]() |
|
![]() |
|
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. |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
SImon
|
|
![]() |
|
![]() |
|
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 |
|
![]() |
Telelogic SYNERGY
» SYNERGY/CM
»
Help needed with ccm use command
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.