Mapping an automatic view root directory to a drive letter
You can use the rcleartool command to start an automatic view to specify a drive letter that maps to that automatic view, in the same way as a dynamic view does.
Mapping
Procedure
-
ClearCase® views:
The rcleartool startview command, the ClearTeam Explorer, and the ClearCase® integration with Visual Studio provide support for SUBST’d automatic view root directories.
-
Mapping can be done using the rcleartool startview
command, the ClearTeam
Explorer,
and the ClearCase®
integration with Visual Studio to provide support for
SUBST’d automatic view root directories.
Unmapping
Procedure
Unmapping can be done either with the rcleartool
command or the ClearTeam
Explorer.
-
rcleartool command: Unmap the subst
/D command, using the following commands from the
rcleartool command line.
-
rcleartool> endview view-tag -
rcleartool> rmview -tag view-tag
-
-
ClearTeam
Explorer:
Right-click a view-tag and select End View or Remove ClearCase® View.
Limitations
Procedure
- The ClearTeam Explorer Start View operation does not allow for the mapping of drives.
- Mapped drives do not persist across reboots. However, you can create a batch file in your Windows Startup folder that can start your views and map them to the correct drive letters using one or more rcleartool commands.
- rcleartool startview supports more than one view at once (for example, rcleartool startview view-tag1 view-tag2 ... view-tagN), when using the -subst flag, you can start only one view (for example, rcleartool startview -subst T: view-tag).