Bean Extender: Guide to Demos


Configuring for the Demos

These instructions assume that you already have installed and configured the JDK. You only need to configure your system once. To configure you system, do the following:
  1. Create an empty working directory using a name of your choice. This document will refer to this directory as the "work" directory.
  2. Create an empty home directory using a name of your choice and set the HOME environment variable to the fully qualified name of this directory. This document will refer to this directory as the "home" directory.
  3. If you plan to run the Dip Creation Wizard Walk-Through, you will have to download and install a copy of the Beanery from alphaWorks.

  4. Add the Bean Extender installation and working directories to your CLASSPATH environment statement. For example, enter:
  5. set CLASSPATH=x:\product\jars\awidgets.jar;x:\work;%CLASSPATH%
    set CLASSPATH=x:\product\jars\runtime.jar;x:\product\jars\develop.jar;%CLASSPATH%
    
    Where x:\product represents the path where you installed Bean Extender and x:\work represents the name of your working directory.

    If you plan to run the Dip Creation Wizard Walk-Through, you should also enter:

    set CLASSPATH=x:\beanery\Beanery.jar;x:\beanery\sk.jar;%CLASSPATH%
    set CLASSPATH=x:\product\jars\dipWizard.jar;%CLASSPATH%
    
    Where x:\product represents the path where you installed Bean Extender and x:\beanery represents the path where you installed the Beanery.

  6. Go to the directory you specified as the home directory and enter:
  7. java com.ibm.beans.util.Configure
    This command will present a notebook dialog, with tabs along the top of the window. Make sure the tab labeled Working is selected (this is the default starting tab and so it should be selected when the dialog is presented). Beneath the tab you will see a title bar, labeled Bean Extender working directory. In the text field beneath the title bar, next to the label Working directory, enter your working directory. This should be the same working directory you set in the CLASSPATH in the previous step.

    The diagram cfgdlg can not be displayed.

    Press the save changes and exit at the bottom of the dialog. This initialization step creates the BeanSystem.properties file in the home directory.

  8. Start the Assembly Surface by entering:
  9. java com.ibm.beans.tools.assembly.AssemblySurfaceMain
 
Note: To minimize error, you can create batch files to define the HOME and CLASSPATH environment statements for the current session and to start the Assembly Surface. 

[ Top of Page | Previous Page | Next Page | Table of Contents | Documentation Homepage ]