Associating a Rule Expression to a File Extension

This section describes how to associate a rule expression to a file extension, and describes how to automatically associate the rule expression to a file whenever a file containing that file extension is added to the project on the Sequence page.

Note • The procedure provided assumes that the rule expression you will be associating to a file extension has already been saved. If you do not have a rule expression saved, refer to Configuring and Saving a New Rule Expression for information about how to create a rule expression.

To associate a rule expression to a file extension

1. Click the Project page and then click the Manage Expressions view.
2. In the Associate Expression to a File Extension section, click Add. A Choose an Expression dialog appears.
3. Choose the expression that you want to associate to a file and then click Load.
4. Click the File Extension section in the same row where the expression has been added, and enter the name of the file extension (such as, .sh for a Linux shell executables files.
5. By default, the Apply check box is checked. This means that any files in the project that contain the file extension you have specified will be updated to have the rule expression applied to them. Conversely, if you uncheck the Apply check box and then click the Apply button, any files with the specified file extension will remove the rule expression from them.
6. Optionally, click the Apply automatically when new files are added check box to automatically associate the rule expression to a file whenever a file containing that file extension is added to the project on the Sequence page.