Environment
In
order to run OpenMash scripts, you need have the TCLCL_IMPORT_DIRS
environment variable set correctly. This variable has to point to
the directory where your import table resides. The import table is
a file called importTable located typically in your
main OpenMash directory.
If
you have this environment variable set incorrectly, you will
most likely receive the message "expected a list of classes
but got Application during {className}".
To
set this variable on Unix (csh and tcsh), put the following
following lines in your .cshrc file.
To
do this on Windows 95/98, append these lines to the end of your
c:\autoexec.bat using notepad, and then reboot
your computer:
To
do this on Windows Me/NT/2000/XP, follow the following steps:
- Open Control Panel
- Click the System icon and the window pops up
- Go to the Advanced panel
- Click the Environment Variables button
- There are two separated windows showing two sets of
environment variables. Select the "new" button for the upper
window to create a new environment variable. Select the "Edit"
button for the upper window to edit an existing environment
variable. You need to create the "TCLCL_IMPORT_DIRS" variable.
|