RTC Checkout using snapshot label via command line
Accepted answer
The TeamFetch and TeamAccept commands doesn't support loading from a snapshot. To build the source code configuration represented by a snapshot, one can create a repository workspace from that snapshot and load this workspace.
Related jazz.net workitem - Investigate adding ant tasks to load from a snapshot. (367409).
Thanks,
Sridevi
Comments
Thanks for your response, Sridevi.
Hi Arun,
Workspaces are light weight objects. We don't expect any overheads when loading from a workspace created from a snapshot. It is similar to loading a build workspace.
There is no limitation on the number of workspaces that can be created. Since the workspace created from a snapshot is required just for the build, as a best practice one can delete this workspace once the build completes.
The ant tasks from the build toolkit doesn't support creation and deletion of workspaces. By using SCM command line client creation and deletion of workspaces can be done from the build script.
I believe loading from a workspace created from the snapshot is the best possible solution until load from snapshot support is provided in the ant tasks.
Thanks,
Sridevi
Thanks a lot, Sridevi.