Running omake or clearmake

Learn how to run omake or clearmake.

Typically, you run omake or clearmake from a dynamic view context using the following procedure:

  1. Set a view context by assigning a drive to a dynamic view (in Windows Explorer, click Tools > Map Network Drive or run the net use command). Then change to that view:
    C:\> net use F: \\view\myview 
    C:\> F: 
    F:\>
  2. Change to the appropriate directory and run omake or clearmake:
    F:\> cd myvob\src
    (\myvob is the VOB tag)
    F:\myvob\src> omake options

    or

    F:\myvob\src> clearmake options

A view context prevents VOB path names from being dependent on the view the build occurs in. From drive F, you and your makefiles can access versioned objects with non-view-extended, absolute VOB path names like \vob2\src\main.c in either cleartool sub-commands or standard operating system commands. If you work directly on drive M, in view-extended namespace, full path names to VOB objects include a view-specific prefix, which affects configuration lookup so as to prevent DO sharing between views.