Notifying SNiFF+ of files checked-in with ClearCase
When a file is checked in with ClearCase, all Views which are configured to display the latest version of the file are immediately updated. If the file is part of a loaded SNiFF+ project, ClearCase and SNiFF+ can be configured so that the modification is notified to SNiFF+
To enable the automatic updating of the checked-in file's symbol information, the ClearCase trigger concept is used. Triggers can be defined to fire at specific events.
To notify SNiFF+ when files are checked-in with ClearCase, we need to define a trigger that fires on every checkin operation performed on any VOB that is used together with SNiFF+. In this section, you will learn how to define such a trigger.
The trigger that you define will execute a script that stores all checkin events in an Update Log File accessible to all running SNiFF+ processes. The path of the Update Log File is system dependent and will have to be set in the
![]() |
Note
| The Update Log File that stores the checkin events must be writable by all developers. This is because the trigger script will run with the
user id
of the user performing the checkin operation. Also, the Update Log File will grow line by line with every checkin operation, so we recommend that you delete it regularly (and preferably outside usual working times).
| |
Setting your Make command
Both standard Make and clearmake can be used for building object files. The appropriate Make command can be set in the Project Attributes dialog.
SNiFF+'s shared object workspace feature is also unnecessary when using clearmake. clearmake can handle the sharing of object files (DO derived objects) between views. This is done by selecting the wink-in feature.
Setting clearmake as your Make command
To use your own makefiles:
Start SNiFF+ and open the root project for which you want to set clearmake as your Make
command.
In the Group Project Attributes dialog
Check out the Project Description Files (PDFs) of all the projects.
In the Project Tree, checkmark all the projects.
Choose Project > Attributes of Checkmarked Projects....
The Group Project Attributes dialog appears.
Select the Build Options node.
You will now set the Make attributes that are the same for all projects.