SCM command line questions
I have a handfull of questions on the SCM command line:
1) scm load takes an argument on which paths within a component to load, which is useful for skippnig items not needed for a build. However, the scm load does not preserve the original path. The command places the last directory in the path expression in the root of the destination sandbox. Consequently build scripts an other tools won't work against it. Is there a way to preserve the original path structure - <sandbox>/<component>/<path>?
2) What are the RTC SCM metdata files and can they be placed outside the sandbox directory? The goal is to produce a release via the command line without the SCM clutter. I believe there are only the .jazz5 and .metadata directories but wanted to confirm. Can they be placed elsewhere?
3) Can the SCM list remotefiles command provide a unique ID for each file version (a manifest)?
THanks,
Harry
1) scm load takes an argument on which paths within a component to load, which is useful for skippnig items not needed for a build. However, the scm load does not preserve the original path. The command places the last directory in the path expression in the root of the destination sandbox. Consequently build scripts an other tools won't work against it. Is there a way to preserve the original path structure - <sandbox>/<component>/<path>?
2) What are the RTC SCM metdata files and can they be placed outside the sandbox directory? The goal is to produce a release via the command line without the SCM clutter. I believe there are only the .jazz5 and .metadata directories but wanted to confirm. Can they be placed elsewhere?
3) Can the SCM list remotefiles command provide a unique ID for each file version (a manifest)?
THanks,
Harry
One answer
I have a handfull of questions on the SCM command line:
1) scm load takes an argument on which paths within a component to load, which is useful for skippnig items not needed for a build. However, the scm load does not preserve the original path. The command places the last directory in the path expression in the root of the destination sandbox. Consequently build scripts an other tools won't work against it. Is there a way to preserve the original path structure - <sandbox>/<component>/<path>?
2) What are the RTC SCM metdata files and can they be placed outside the sandbox directory? The goal is to produce a release via the command line without the SCM clutter. I believe there are only the .jazz5 and .metadata directories but wanted to confirm. Can they be placed elsewhere?
3) Can the SCM list remotefiles command provide a unique ID for each file version (a manifest)?
THanks,
Harry
1) Is tracked and discussed in this work item... https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/85020 . You could update the workitem to indicate your support for it.
2) If you remove or move the .jazz5 directory, scm will not be able to track the loaded workspace (directory) anymore. I believe you could copy it to another location and bring it back.
3) No, but it is possible to list an unique identifier similar to that of "lscm -u y status -I". Please raise a work item.