Product | Command Type |
---|---|
ClearCase | cleartool subcommand |
ClearCase LT | cleartool subcommand |
Platform |
---|
UNIX |
Windows |
ClearCase:
ClearCase LT:
The chview command changes various properties of a view, including the cache size, the type of DOs the view creates, and the access mode. The view server can be running when you enter this command.
The -cachesize option changes the cache size for a view and is equivalent to the setcache -view -cachesize command. For information on view caches, see the setcache reference page.
The -shareable_dos and -nshareable_dos options change the properties of the derived objects (DOs) created by future builds in the dynamic view. Shareable DOs are available for winkin by other views; nonshareable DOs are not available for winkin by other views. Both kinds of DOs have configuration records, but clearmake does not write shopping information for nonshareable DOs into the VOB. For more information about shareable and nonshareable DOs, see Building Software.
Using the -shareable_dos or -nshareable_dos option does not change the properties of the existing DOs in the view. To make a nonshareable DO shareable, you must use the winkin command. You cannot make a shareable DO nonshareable.
NOTE: You can change the DO property of the view while a clearmake or omake build is running in the view. The build will use the new property after completing the current target build.
The -readonly and -readwrite options change the access mode for the view's private data-storage area. By default, views have read-write access. If you change a view's property to read-only, you cannot use the view to perform any operation that creates new files in view-private storage (for example, checkouts or builds).
Changing a view's property to read-only does not prevent users from changing the view's config spec. For information on restricting changes to the config spec, see the mkview reference page.
Identities: You must have one of the following identities:
View owner
On UNIX: root on the view_server host (For more information about view_server, see the Administrator's Guide.)
Mastership: (Replicated VOBs) No mastership restrictions.
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 cache size for view smg_test.
cmd-context chview -cachesize 500k smg_test
The new view server cache limits are:
Lookup cache: 49152 bytes
Readdir cache: 204800 bytes
File stats cache: 86016 bytes
Object cache: 172032 bytes
Total cache size: 512000 bytes
(ClearCase) Change the current view to create nonshareable DOs.
cmd-context chview -nshareable_dos -cview
Properties: nshareable_dos
mkview, lssite, setsite, winkin
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |