Setting the ERUDINE_PATH
Purpose
To set the ERUDINE_PATH environment variable so the Erudine Behaviour Engine can find user-defined extensions.
Theory
By default, the Erudine Behaviour Engine automatically looks for extensions within the following locations:
- C:\Program Files\Erudine\Plugins in a Windows environment
- /opt/erudine/plugIns/ in Unix-based environments.
You may want to define another location for user-defined extensions, if for example, you cannot access these locations because your user permissions do not allow you access to this area.
In this exercise, you will add a new system variable called ERUDINE_PATH, which means the Erudine Behaviour Engine, will look in another location for extensions.
| Note If you are working within a Unix-based environment, then you can carry out this action by entering the following command: export ERUDINE_PATH=/home/<location> |
Actions
To set the ERUDINE_PATH environment variable:
- Click the Start button on the Windows toolbar and select Settings > Control Panel .
- Double click on the System option to display the System Properties box.
- Select the Advanced tab.
- Click the Environment Variables button.
- At the bottom of the box, in the System Variables section, click the New button to display the New System Variable box.
- Enter ERUDINE_PATH as the Variable Name.
- Enter to C:\Documents and Settings\<user.name>\Training Workspace as the Variable Value, or any other location that you may prefer.
- Click OK to save the new system variable.
- Click OK to close the Environment Variables box.
- Click OK to close the System Properties box.
- Close the Control Panel.
Platform: all
EBE Version: 2.4
Category: Development Training Guide
Author: Patrick Peisker