Sets the config spec of a view
Product | Command Type |
---|---|
ClearCase | cleartool subcommand |
ClearCase LT | cleartool subcommand |
Attache | command |
Platform |
---|
UNIX |
Windows |
This command does not require a product license.
The setcs command changes the config spec of a view to the contents of a user-specified or system-default file, or causes the view's associated view_server process to flush its caches and reevaluate the current config spec. The Attache workspace is not updated to reflect any changes in the view's contents.
For UCM views, the setcs command checks that the view's configuration matches the configuration defined by the stream it is attached to and, if needed, reconfigures the view. Load rules already in the view's configuration are preserved.
ClearCase on UNIX-If the working directory view differs from the set view (established by the setview command), setcs displays a warning message and uses the working directory view.
In a snapshot view, setcs initiates an update -noverwrite operation for the current view and generates an update logfile with the default name and location (see the update reference page for information on this logfile).
Attache-If the specified file has a corresponding local file in the workspace, it is uploaded before the remote command is executed.
See the pwv reference page for more on view contexts. See the config_spec reference page for a complete discussion of config specs.
If you change the config spec of a view that is being exported for non-ClearCase access, make sure that all users who may currently have the view mounted for that purpose unmount and remount the view. Unmounting and remounting the view ensures access to the correct set of files as specified in the updated config spec.
SPECIFYING THE VIEW. Default: Reconfigures the current view.
SPECIFYING THE KIND OF CHANGE. Default: None.
|
|
|
The UNIX examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.
The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the UNIX shell or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.
Change the config spec of the current view to the contents of file cspec_REL3.
cmd-context setcs cspec_REL3
Change the config spec of the view whose view-tag is jackson_vu to the default config spec.
cmd-context setcs -tag jackson_vu -default
Have the view_server of the current view reread its config spec.
cmd-context setcs -current
attache_command_line_interface, catcs, config_spec, lsview, mktag, mkview, pwv, update
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |