How to fetch files from stream to do build?
![](http://jazz.net/_images/myphoto/da314eff3d3db990e8df5c65791e8df5.jpg)
In Dedicated build workspaces section of RTC Help (2.0 and 3.0)
Has anyone tried to fetch files from a stream instead of workspace?
How do you get source from a stream?
You can "load" components from a workspace, how do you do that with a stream?
There is a Jazz Source Control pre-build step which can be added to a build that makes it easy to fetch files from a Jazz repository workspace or stream. The Source Control step will add a page to the build definition and allow you to configure how to fetch the files.
It's possible to create read-only Source Control builds which fetch files from a Stream.
Has anyone tried to fetch files from a stream instead of workspace?
How do you get source from a stream?
You can "load" components from a workspace, how do you do that with a stream?
4 answers
![](http://jazz.net/_images/myphoto/da314eff3d3db990e8df5c65791e8df5.jpg)
I would recommend not trying to build directly from the stream. There
are a variety of anomalies that can occur.
What were you trying to achieve by doing so?
Cheers,
Geoff
On 10/24/2011 8:23 PM, ghu wrote:
are a variety of anomalies that can occur.
What were you trying to achieve by doing so?
Cheers,
Geoff
On 10/24/2011 8:23 PM, ghu wrote:
In Dedicated build workspaces section of RTC Help (2.0 and 3.0)
There is a Jazz Source Control pre-build step which can be added to
a build that makes it easy to fetch files from a Jazz repository
workspace or stream. The Source Control step will add a page to the
build definition and allow you to configure how to fetch the files.
It's possible to create read-only Source Control builds which fetch
files from a Stream.
Has anyone tried to fetch files from a stream instead of workspace?
How do you get source from a stream?
You can "load" components from a workspace, how do you do
that with a stream?
![](http://jazz.net/_images/myphoto/da314eff3d3db990e8df5c65791e8df5.jpg)
I would recommend not trying to build directly from the stream. There
are a variety of anomalies that can occur.
What were you trying to achieve by doing so?
Cheers,
Geoff
Hi Geoff,
We have teams which plan to move to RTC SCM but stick with their existing script-driven build practice which requires to pull source from CC dynamic views to the build boxes.
So we are looking for similar ways of pulling the source from RTC. While trying the stand way of using a workspace wihtout involving RTC build tools, it seems hard to automate the process using scmtools to pull the latest source via a workspace branching off from the release stream.
I know in RTC Build Definition, one can easily specify the workspace, load option and accept option.
But as the teams are not ready for using RTC build tools yet, how do we acchieve the same goal using scmtools?
![](http://jazz.net/_images/myphoto/da314eff3d3db990e8df5c65791e8df5.jpg)
You can't load a stream and it's not a very good idea. The contents of the stream can be changed by another user when delivers while you may be performing the build. You wouldn't know what went into the build.
If you're using the command line, you might as well create a workspace just for the build. The command line can accept the latest from the stream, create a snapshot, and load the workspace.
If you're using the command line, you might as well create a workspace just for the build. The command line can accept the latest from the stream, create a snapshot, and load the workspace.
![](http://jazz.net/_images/myphoto/da314eff3d3db990e8df5c65791e8df5.jpg)
Only ClearCase provides dynamic views ... all other SCM systems
(including RTC-SCM) copy files from the repository onto the local disk.
So if you tried to load directly from a stream, all you would save is
the time it takes to create a workspace on the stream, and that
operation is very cheap, so you don't save anything significant.
Cheers,
Geoff
On 10/25/2011 7:38 AM, ghu wrote:
(including RTC-SCM) copy files from the repository onto the local disk.
So if you tried to load directly from a stream, all you would save is
the time it takes to create a workspace on the stream, and that
operation is very cheap, so you don't save anything significant.
Cheers,
Geoff
On 10/25/2011 7:38 AM, ghu wrote:
gmclemmwrote:
I would recommend not trying to build directly from the stream.
There
are a variety of anomalies that can occur.
What were you trying to achieve by doing so?
Cheers,
Geoff
Hi Geoff,
We have teams which plan to move to RTC SCM but stick with their
existing script-driven build practice which requires to pull source
from CC dynamic views to the build boxes.
So we are looking for similar ways of pulling the source from RTC.
While trying the stand way of using a workspace wihtout involving RTC
build tools, it seems hard to automate the process using scmtools to
pull the latest source via a workspace branching off from the release
stream.
I know in RTC Build Definition, one can easily specify the workspace,
load option and accept option.
But as the teams are not ready for using RTC build tools yet, how do
we acchieve the same goal using scmtools?