Import the components of the ACCT sample application into your new project.
- In Eclipse, select your project in the
Application Explorer view.
- Click
.
- In the
Import dialog box, expand
General, select
File System, and then click
Next.
- Click the
Browse button that corresponds to the
From directory field, and navigate to the demonstration project folder, which by default is
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\CICS\Classic\ACCT.
- Click
OK.
- In the left panel, expand the
ACCT folder.
- Check the boxes next to the following folders:
- Click
Finish.
This imports all required files into your project, creates the
.dll,
.idy and
.mod files in the
loadlib directory, generates a
.cpy file from the BMS (this is stored in the
cpy folder), and attempts to build the project; however, the build fails because the path to the generated copybook must be included
in the project properties.
- Right-click the
ACCT project name; then select
Properties from the context menu.
- Expand
Micro Focus; then click
Build Path.
- On the
Dependency Paths tab, select
COBOL Copybook Paths from the
Type drop-down list.
- Check
ACCT/cpy, which is the path to the imported copybooks.
- Click
Apply and Close.
Note: If a
Delete User Files prompt appears, click
No.
By default, Eclipse builds the project automatically every time you make a change.