NAME
softinit − Invocation Specifications for the SoftBench Software Development Environment
DESCRIPTION
Softinit files contain information governing the default execution of tools in SoftBench. They are read in response to the SOFTINIT MERGE message. This message is sent at startup and when the softmerge command is executed. Selecting SOFTINIT from the SoftBench Tool Manager "Start" dialog will also cause them to be read.
The system softinit file, /usr/softbench/config/softinit, is generated from entries provided by each product which uses the SoftBench Broadcast Message Server, as well as entries which the system administrator or system integrator has specified. The system softinit file should not be modified directly. Instructions for customization are given below.
If a line in this file begins with a ’#’ character, it is assumed to be a comment, and is ignored. Otherwise, the line contains the following fields, separated by SPACE or TAB characters:
toolclass Specifies the tool class of the entry.
type Specifies the type ( TOOL or COMMAND ) of the entry.
scope Specifies the scope ( NET, HOST, DIR, or FILE ) for this entry.
filetypes The file types which this entry can handle. This can be an asterisk, or a list of valid filetypes separated by a vertical bar. A filetype is valid if it is listed in the softtypes file.
exechost The execution host for the tool. This field can be: %Local% (execute on the host where the execution manager is running), %Host% (execute on the host specified in the context), or a machine name (execute on that machine).
invocation The invocation string for the tool.
For a more detailed explanation of the values of these fields, see the Installing SoftBench Products manual.
SOFTINIT ENTRY PRECEDENCE
If two or more entries have the same tool class name, then the last entry has precedence over previous entries.
If two entries have the same tool class, but one has a general filetype ("*") and the other has a specific file type (e.g. CSOURCE), the specific entry will have precedence for the types of files specified. The entries with general types must precede the entries with specific types.
CUSTOMIZING THE SYSTEM SOFTINIT FILE
The system softinit file /usr/softbench/config/softinit is generated from entries provided by each product which uses the Broadcast Message Server, as well as entries which the system administrator or system integrator has specified.
In order to include customizations in /usr/softbench/config/softinit, you must:
1. Become user "root".
2. Save a copy of the file, if desired.
3. Add the desired entries to the file: /usr/softbench/config/softinitsrc/local-override/localinit
4. Run the merge program by typing: /usr/softbench/etc/merge-init
5. Check the /usr/softbench/config/softinit file to confirm that the new entries were included (they will be at the end).
6. Check the customizations by re-reading the softinit file (re-start softbench or execute softmerge) and starting the program that uses the new entries.
FILES
/usr/softbench/config/softinit
$HOME/.softinit
/usr/softbench/config/softtypes
SEE ALSO
—