Home

About
General Info
FAQ
Mailing Lists

Users
Getting Started
- Tips
Downloads
Tools

Developers
Getting Started
Source Code
Documentation

Status
Compatibility
Bugs
Feature Requests

Resources
Publications
Workshops
Links

QuickSearch



Getting Started - Tips

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.

    setenv TCLCL_IMPORT_DIRS <mash_directory>

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:

    set TCLCL_IMPORT_DIRS=c:\mash_directory

To do this on Windows Me/NT/2000/XP, follow the following steps:

  1. Open Control Panel
  2. Click the System icon and the window pops up
  3. Go to the Advanced panel
  4. Click the Environment Variables button
  5. 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.

Home | About | Users | Developers | Status | Resources | Top of Page

Webmaster
© Copyright 1999 - 2001 by the Regents of the University of California