|
|
The Habanero Resource Directory (habanero.rsc)
The Habanero resource directory, habanero.rsc, contains files unique to each user. This directory is maintained in the user's HOME directory and includes information that defines the location of the Habanero libraries, the tools available to the environment and specific user preferences.
This document defines the location of habanero.rsc and the contents of its files and directories. We'll also provide information about creating and changing the data.
|
|
|
The HOME Directory
The HOME directory is used by Habanero to locate the habanero.rsc directory. This section describes the different ways the HOME directory is defined under UNIX, Windows and Macintosh.
UNIX
Under UNIX, the HOME directory is your login directory. Typically this is a unique directory associated with a user account and UNIX users do not have to do anything special to define the HOME directory. Just put a copy of the habanero.rsc directory in your default directory.
NOTE: If you are not sure where your HOME directory is located, type the command cd and hit the enter key. If the path is not displayed, use the command pwd and hit return.
Windows
Under Windows, the HOME directory is defined as an environment variable in the client and server batch files. By default, these variables are defined by the installation program as a subdirectory of the Habanero directory.
If you move the habanero.rsc directory from its default location, you'll need to reset the environment variable in the batch files.
SET HOME=C:\program files\ncsa\habanero
Macintosh
On a Macintosh system, the HOME directory is defined automatically by putting the habanero.rsc folder into the system folder/java/classes folder or another folder defined in the CLASSPATH.
The habanero.rsc/user.props file, a.k.a "the Habanero resource user properties file", defines the environment properties of the system and user. User.props is an ASCII file that can be edited with any simple text editor. The only parameters that need to be defined by hand are the directory paths which are discussed below.
The directory path configuration of this file is different for UNIX, Windows, and Macintosh. See the below descriptions for details.
UNIX
Open the user.props file with a text editor and change the directory path parameters as defined below.Macintosh
If the habanero.rsc/user.props and the Habanero classes reside in the same directory as the VM or the "system folder/java/classes" folder, Habanero will be able to use the default settings. If the class files reside in another directoy, open the file with a text editor and change the directory path to reflect the location of the Habanero class files.Windows
The initial environment properties are configured by the installation program. However, you will need to change the directory paths if you move the location of the Habanero class files or you configure your Windows environment for multiple users.
habanero.home=/java/habanero/ristra hdf.file=/java/habanero/ristra/hdffiles (N/A under Macintosh) dir.record=/java/habanero/ristra/capture mail.host=havefun.ncsa.uiuc.edu default.lang=english default.sessionname=Sample Session default.port=2000 auto.accept=false file.addressbook=addressbook dir.templates=templates file.myidf=myself file.tool=toolsDir tool.index=index invitation.status=2 close.alert=true user.advanced=false |
Directory Path parameters defined by the user:
The following parameters are defined through the Habanero graphical user interface:
The Myself File (myself)
The myself file contains information about your identification. This information appears as an ID card and is configurable from the "Edit ID Card.." option in the "Habanero" menu. You should not edit this file with an ASCII file.
The image habsmall.gif is a sample image that can be used in the ID card. To change the image in the ID card, click on the "?" image or the current image and select another file. Note: The format of the new image file must be either .gif or .jpg.
The information included in each of the tool files includes:
For example, the file 'whiteboard' file contains:
tool.name=WhiteBoard tool.picture=WhiteBoard.gif tool.classname=WhiteBoard.CollabWhiteBoard tool.arbitrator=ncsa.habanero.LimitArbitrator tool.version=v1.0 tool.help=http://havefun.ncsa.uiuc.edu/habanero/Tools/
The files distributed with Habanero have default settings.
The Address Book Directory (addressbook)
The habanero.rsc/addressbook directory contains a list of ASCII files that store contact information about your fellow collaborators. Each file contains the ID information for all the people who have joined you in a collaborative session.
Each Habanero client obtains this information when a person joins a session, and it is used to display ID information during a session, define session definitions with specific individuals, and make session notifications. Each file contains the following information about your fellow collaborators:
Machine name Port number Users name Organization Name Web Site URL Email address Work phone Fax phone Title Interests City State Country For Example: havefun.ncsa.uiuc.edu/141.142.103.26 3000 Your Name Goes Here National Center for Supercomputing Applications - Software Development Group http://havefun.ncsa.uiuc.edu/habanero/HabaneroHome.html yourEmailAddress@goes.here 217-555-1212 217-555-1212 Collaboration participant Habanero, Java, Collaboration CHAMPAIGN-URBANA IL USA
Note: You should not edit the addressbook files with an ASCII editor.
Session Definitions (templates)
The habanero.rsc/templates directory contains files that define the "Session Definitions". Session definitions are user defined Habanero sessions that expedite the creation of new sessions by notifying all parties involved and opening the session's tools with a couple of mouse clicks.
Habanero® is a registered trademark owned by The Board of Trustees of the University of Illinois. Copyright 1996-1998. All rights reserved. Java(TM) is a proprietary trademark owned by Sun Microsystems, Inc.
|
|