About this task
In the
Select Files wizard, select ClearCase
files and folders as synchronized roots, and specify the attribute
type that is attached to the label types you want to import.
Procedure
- On the Select Files To Import page,
complete one of the following actions to select files and folder in
a base ClearCase component whose version history you want to import.
Note: If a file or folder does not have the label type that
you entered for the dynamic view configuration specification, it cannot
be selected for import.
Restriction: Only select
folders or files whose versions have label types with all attribute
values that you are going to import.As
each successive label type with attached attribute value is imported,
any synchronized roots that are not visible with that label type and
value are removed. Once a folder is removed as a synchronized root,
no further version information is imported for that folder, even if
it exists with subsequent label types.
For example, if a folder
has one version with the label type and an associated attribute value
with an integer of 3 and another version with that label type and
attribute value with an integer of 5, but no version with an integer
of 4, then that folder is removed from the synchronized roots list
during the import of all label types with an attribute integer of
4. The folder is not added back to the list during the import of all
label types with attribute integer of 5.
- Enter the attribute type that is attached to the label
type that you specified on the ClearCase Stream Information page.
This attribute type must be applied to the label types before the
ClearCase Importer can import any version history. (See details above,
in Before you begin.) Enter the attribute type in the form <attribute-type-name>@<VOB-selector>.
For example, com.ibm.rational.basecc.importer@\basevob. The Importer imports versions with label types that have the
specified attribute type attached. Versions that have the label types
without the attached attribute type are ignored.
- Click Finish to close the Select
Files wizard and begin importing the specified ClearCase
files and folder with version history. Depending on the
size of the VOB, number of label types that have the attached attribute
type, and the amount of historical data tagged by these label types,
the import could take from a few minutes to hours or days.
Results
After the initial import, you can import subsequent version
history for the selected files and folders by running a synchronization
on the synchronized stream. If you select additional files and/or
folders as synchronized roots after the initial import, they are not
imported with history starting from the backstop label type. They
are imported only with history from label types with associated attribute
type values that are subsequent to the last import.
Tip: To
import additional files and folders with the same history (starting
from the same backstop label type) as the originally imported files
and folders, create a new synchronized stream, selecting a synchronized
root that contains all of the files and folders that you want to import
with that history.