Create an AppMaster Builder project and an
Enterprise Developer COBOL project.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
You need an AppMaster Builder project in which to develop your application, and an
Enterprise Developer project in which to compile and run the application. Here we create both projects, and populate the AMB project with the
demonstration application files needed to complete the tutorials.
Requirements
Before attempting this tutorial, you must complete:
If you have closed
Enterprise Developer, start it; then open the AppMaster Builder perspective.
- Create an AppMaster Builder project
-
When you create an AppMaster Builder project, AMB creates and populates a directory structure containing the files required
to develop an application. Each project subdirectory contains specific files and file types.
- With the AppMaster Builder perspective active, click
Admin > Project > Create.
- In the
Administrator Password field, type
ambadmin; then click
OK.
Important: This tutorial assumes you can use the default AMB administrator password. However, you might be required to supply an alternative
password if it has been changed.
- In the
Qualifier field, type
c:\amb_tutorials. This represents the full path to a directory that serves as a parent to contain your AppMaster Builder projects.
- In the
Project field, replace the default text with
BLDRAPPL, which is the name of the demonstration application.
- In the
Group field, replace the default text with
dev1 to represent a development group name.
- Click
Create. A message appears in the dialog header indicating that the project was created.
- Click
Exit.
- Copy demonstration files
-
- Set the project path
-
- From the Eclipse IDE, click
Window > Preferences.
- Expand
Micro Focus; then click
AppMaster Builder.
- In the
Project path field, type in or browse to and select the
c:\amb_tutorials\BLDRAPPL\dev1 directory; then click
Apply.
- Create an Enterprise Developer COBOL project
- We need an
Enterprise Developer project in which to store the code we generate from AppMaster Builder. From the
Enterprise Developer project, we can compile and run the generated code.
- From the AppMaster Builder perspective, click
AppMaster Builder preferences page
.
- On the AppMaster Builder Preferences page, check
Compile in COBOL Project.
- Click
New.
- In the
Project name field, type
AMB BLDRAPPL; then click
Finish. If you are asked whether or not to open the COBOL perspective, choose either option.
Enterprise Developer creates the project in your default Eclipse workspace, and AppMaster Builder populates the field with the path to the new
COBOL project.
- Click
Apply and Close.
- View the new projects
-
- Switch to the
AppMaster Builder perspective. The BLDRAPPL project now appears on the
Project Explorer tab.
- Switch to or open the Eclipse
COBOL perspective. You should see the new Enterprise Developer AMB BLDRAPPL project on the tree view.
This completes the tutorial. Next, please complete
Tutorial: Add Objects to the AMB Project.