TIBCO Spotfire® Server and Environment - Installation and Administration

Script language

Spotfire provides a script language that you can use to create a script that runs multiple commands.

# If a hash is the first character on a line, the line is a comment.

Example: # This is a comment that describes the next section.

set Defines a variable. The variable name and the value must be separated by an equal character (=).

Example: set PASSWORD = "abc123"

${Variable} Substitutes the dollar sign and curly braces with the variable value.

If there is no matching variable, there is no substitution.

Example: --tool-password="${PASSWORD}"
\ The logical line continues on the next line.

Example: bootstrap --no-prompt --driver-class="${DB_DRIVER}" \ --database-url="${DB_URL}"

echo Writes to console.

Example: echo This message will be posted echo

Empty rows are allowed
Note: Paths and comments that include spaces must be enclosed in straight quotation marks ("). More advanced text editors may change straight quotation marks to smart quotation marks, resulting in errors when the commands are run.