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 about 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 about restricting changes to the config spec, see the mkview reference page.
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.
Copyright© 2003 Rational Software. All Rights Reserved.