initializing/creating files in CM repository using scm comma
![]()
Ian Barnard (2.0k●6●13)
| asked Nov 14 '08, 10:11 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I guess its easy when you're using Eclipse in a project, to create the files in the scm repository, but I'm not and I can't find out how to setup e.g. some xml files under config mgmt using the scm.exe command-line interface. Help!?!
|
One answer
![]()
It's easy with RTC and it's easy with the CLI too.
Here's a quick and easy recipe for getting started. If you haven't already done so, II recommend that you take a look at the online docs and the CLI's help ($ scm help). $ scm create workspace -r l myNewWorkspace Workspace (6076) "myNewWorkspace" successfully created Component (6077) "myNewWorkspace Default Component" successfully created $ scm share -r l myNewWorkspace 6077 /tmp/shareDir/files4u Uploading files... Shared successfully $ scm list remotefiles -r l myNewWorkspace 6077 / /files4u/ /files4u/someFile /files4u/.project NOTES: - '6077' is the alias of the component named "myNewWorkspace Default Component". The alias is shorter to type, so I used that. I could have used the full name. - Other directories can be shared out of /tmp/shareDir |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.