Walks you through the steps required to create the AACT project in
Eclipse, import the AACT demonstration files,
and
install the resource definition file.
Restriction: This topic applies to Windows environments only.
Create the AACT project
- In Eclipse, expand the top-level
Enterprise Developer entry in the
Application Explorer view.
- Right-click
Enterprise Developer Projects in the
Application Explorer view, and click
.
- Specify the project name
AACT and click
Finish.
Eclipse creates the project, and the
Application Explorer view shows the
AACT project.
- Right-click the
AACT project in the
Application Explorer view, and click
New > Folder > Folder.
- Specify
loadlib as the folder name, and click
Finish.
This is the folder for the files generated by your project. You now need to configure the project to produce the generated
files in the
loadlib subfolder.
- Right-click the project in the
Application Explorer view, and click
Properties.
- Expand
Micro Focus > Build Configurations and click
Link.
- In the
Output Path field, click
Browse, select the
loadlib folder; then click
Apply and Close.
Import the AACT demonstration files
In this step, you import the files from the AACT demonstration transaction into your project, and copy the resource definition
file to the project.
- In Eclipse, select the
AACT project in the
Application Explorer view, and then select
File >
Import from the main menu.
- Expand
General, click
File System, and click
Next.
- Click the
Browse button that corresponds to the
From directory field.
- Navigate to
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\Assembler\Classic\AACT, and click
Select Folder.
This displays the list of the files available in the in the
AACT directory.
- in the left pane, check
AACT.
- In the right pane, scroll down and uncheck
Readme.xml.
- Click
Finish.
This action adds the AACT application files to the project folder, creates the
SYSTEM project subfolder (not visible from the Eclipse IDE), and adds the default
dfhdrdat resource definition file to the
SYSTEM subfolder. In addition, Eclipse automatically builds the project. In this case, the build fails because you need to set some
project properties to specify that the Assembler programs use CICS.
Set AACT project properties
- Right-click the
AACT project in the
Application Explorer view, and click
Properties.
- In the
Properties for AACT dialog box, expand
Micro Focus > Project Settings > Assembler Compiler, and then click
CICS Preprocessor.
- Check
Use CICS Preprocessor, and then click
Apply and Close.
This triggers a rebuild of the project, and this time it is successful.
Install the dfhdrdat resource definition file
- Start an
Enterprise Developer command prompt. If you need instructions, see
To start an
Enterprise Developer command prompt.
- Enter the following to upgrade the default
dfhdrdat resource definition file to include CICS resources:
caspcupg /dp=c:\users\username\workspace\AACT\system
Where
username is your Windows user ID.