How to Export a Component?
Very simple requirement but I'm struggling to find the answer within RTC.
How can I simply export the contents of a component to a location outside of a sandbox / workspace i.e. the equivalent of an svn export command.
I understand that then the files will be out of RTC control but that's exactly what I want, just a simple copy of the files with which I can do what I want.
I'm using the scm CLI on Linux
Accepted answer
Once you have loaded the workspace to a sandbox you can run 'lscm workspace unload' or 'lscm unload -w <workspace>' in post 4.0.5 clients. This will disconnect the loaded workspace in the sandbox so that it will not be tracked by RTC. Note that this will not delete the sandbox contents and the .jazz5 directory will still remain. To delete the sandbox contents you need to pass the -D/--delete option to the unload subcommand.
Comments
3 other answers
My svn-foo is very rusty, but wouldn't this just be the same as doing a load?
scm load -r <your repo> <your workspace> <your component>
Comments
Here is a potential solution for automating it: http://thescmlounge.blogspot.de/2013/08/getting-your-stuff-using-rtc-sdk-to-zip.html
Currently there is no way to do this without having a repository workspace. There is a request to have the capability to download from the Web UI, but that is not yet implemented as far as I know.
If you loaded a repository workspace and you are in Eclipse, you can also basically export the projects from there.
Currently there is no way to do this without having a repository workspace. There is a request to have the capability to download from the Web UI, but that is not yet implemented as far as I know.
If you loaded a repository workspace and you are in Eclipse, you can also basically export the projects from there.