NCSA: National Center for Supercomputing Applications
AllianceNCSAUser_InfoAccess
University of Illinois at Urbana-Champaign
Leading Edge Site

 

Habanero® Environment Properties

The Habanero Resource Directory (habanero.rsc)
The Home Directory
The User Properties File (user.props)
The Myself File (myself)
The Tools directory (toolsdir)
The Address Book Directory (addressbook)
Session Definitions (templates)


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

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.

SET HOME=C:\program files\ncsa\habanero

If you move the habanero.rsc directory from its default location, you'll need to reset the environment variable in the batch files.

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 User Properties File (user.props)

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.

An example of a user.props file:

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
Propety Definitions:

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 default ID Card information
ID Card

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 Tools Directory (toolsDir)

This directory contains a file for each tool installed in Habanero environment and an index file. On start-up, Habanero reads the index file to determine what tools are available and it and creates the folder and tool associations as preferred by the user. The folder and tool associations are created through the client interface and the information is maintained in the toolsDir/index file. This file should not be edited with an editor.

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.

Session definitions can be created during a session or off-line.

During a session, simply select "Save Session Definition" from the "Meeting" menu or click on the Button button. When Habanero saves a session definition, it takes a snapshot of the current session and stores that information in a file. This information can include: the list of participants, the server name and port number, the security information about the session, and a list of the open tools.

Creating a session definition off-line is performed through the client while it is in 'Session Definition Mode'. A red border around the client window indicates this mode. To create a session definition, click on the Advanced Features option in the Session Definition menu and describe the session. Describing a session requires you to define a server, port number, session name, session participants, time, agenda, and tools using the various command from the Views menu or the vertical toolbar. After describing the session, save it by selecting "Save Session Definition" from the "Meeting" menu or clicking on the Button button.


A Navigation Image Map. Use the links below.
[ Download ] [ User Docs ] [ FAQs ] [ Home ] [ Dev API ] [ Tools ] [ License ]

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.

 
[Alliance] Alliance NCSA UIUC [NCSA]