This section explains the various techniques that you use to assemble an application using Nucleus. In this section, you will work through a series of exercises that demonstrate the capabilities of Nucleus. Before you begin the exercises, do the following:
Make sure that the ATG platform is properly installed. See the ATG Installation and Configuration Guide.
Make sure that the Java Software Development Kit binaries are in your path. The JSDK binaries are usually found in the JSDK distribution under the JSDK’s
bin
directory.Start up an ATG application that has been assembled in development mode, and start up the ATG Control Center.
Create a directory to hold your Java class files. Add this directory to your CLASSPATH environment variable by editing your ATG environment file:
On Windows, edit
<ATG2007.3dir>\home\localconfig\environment.bat
by adding a line like this:set CLASSPATH=%CLASSPATH%;<
path/to/your/classes/directory
>
On UNIX, edit
<ATG2007.3dir>/home/localconfig/environment.sh
by adding a line like this:CLASSPATH=${CLASSPATH}:<
path/to/your/classes/directory
>
Or put your class directory in the
<ATG2007.3dir>/home/locallib
directory, which is already part of the default CLASSPATH when you run the ATG platform.Create a directory,
<ATG2007.3dir>/home/localconfig/test
, in which you can run the tutorial exercises. We’ll call this the “tutorial directory.”You can create this directory by opening the ATG Control Center Pages and Components > Components by path window and clicking the New Folder button.
Change directories to the tutorial directory so that the tutorial directory becomes the current directory.
Set the
DYNAMO_HOME
environment variable to<ATG2007.3dir>/home
.Set your environment variables in the command line console by running
<ATG2007.3dir>/home/bin/dynamoEnv
. On UNIX platforms, you can do this by starting an instance ofsh
(if you are using any other shell) and then executingdynamoEnv.sh
directly into that shell:. bin/dynamoEnv.sh