Load rules offer a convenient way to define a subset of
a product tree that you want to load into a Rational Team Concert™ workspace.
In Rational® Engineering
Lifecycle Manager, you can generate a load rules file. After you add
component baselines to your repository workspace in Rational Team Concert, use
load rules to load only the component baselines that you want to work
on.
Before you begin
Generate load rules to contain instructions to load the
component baselines under a stream or under a subset of a stream.
Load
rules that are generated for a product that is connected to a stream
contain the entire product tree.
To generate load rules for
a subset of a product tree, you must have a child product that gathers
only the component baselines you want to load into the workspace.
Creating products that gather component baselines is described in
"Day-to-day use of the integration" in Integration workflow.
About this task
Rational Engineering
Lifecycle Manager recognizes Rational Team Concert artifacts
to the component baseline level. The load rules file format supports
control down to the exact files that are loaded, which includes project-level
artifacts under a component baseline. A generated load rules file
gives teams more control over what component baselines to load in
their workspace.
Stream managers can use load rules at the start
of a project, when they set up the stream for the team's use. They
can also use load rules after they restructure a product that is connected
to a large stream by using child products to gather subsets of component
baselines that developers need.
For example, you have a stream
named Chip_2352 that contains 87 component
baselines. You restructured the component baselines in Rational Engineering Lifecycle Manager because
your developers needed only 23 of the component baselines for a patch.
In Rational Team
Concert, you create a stream from the Chip_2352 stream,
calling it Chip_2352_patch1. You can then use
the load rules file to load only the 23 component baselines into Chip_2352_patch1.
Procedure
- In Rational Engineering
Lifecycle Manager, receive component baselines from the Rational Team Concert stream
that you want to use as a starting point.
- Restructure the component baselines in any of these ways:
- Generate a load rules file for a product that is connected to
a stream or a child product that gathers a subset of a stream.
- In the product that is connected to the stream, remove the component
baselines that you do not need.
- Alternatively, create child products and then gather subsets of
component baselines that developers need.
- Generate a load rules file by right-clicking a product
that is connected to a stream or a child product, and selecting .
- In the .loadrule file download dialog
box, keep the Save File setting.
The
load rules file is saved with the name of your stream, for example, Master_Stream.loadrule.
- In Rational
Team Concert, create a stream from the stream that contains the
full set of components.
Right-click the stream that
contains the full set of component baselines and select New
Repository Workspace. Wait until all components are added
to the stream.
- Load necessary component baselines to the stream by using
the load rules file.
In the Load Repository
Workspace dialog box, click Load from a load
rule file.
- Select the load rules file that you generated in Rational Engineering Lifecycle
Manager.
Rational
Team Concert loads only the component baselines that are listed
in the load rules file.