This section explains the various ways you can assemble an application with Nucleus. In this section, you work through a series of exercises that demonstrate Nucleus capabilities.
Before you begin
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:
Windows:
<ATG9dir>\home\localconfig\environment.bat
:set CLASSPATH=%CLASSPATH%;
class-directory-path
UNIX:
<ATG9dir>/home/localconfig/environment.sh
:CLASSPATH=${CLASSPATH}:
class-directory-path
Alternatively, put the class directory in
<ATG9dir>/home/locallib
, which is already part of the default CLASSPATH when you run the ATG platform.Create a tutorial directory
<ATG9dir>/home/localconfig/test
where you can run the tutorial exercises.To create this directory:
Open the ATG Control Center window Pages and Components > Components by Path.
Click New Folder.
Change directories to the tutorial directory so the tutorial directory becomes the current directory.
Set your environment variables in the command line console by running
<ATG9dir>/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