Provides instructions that take you through the process of creating an Eclipse project for the ScheduleDemo demonstration
application, setting build properties for the project, and populating the project with demonstration files.
Create the ProgramSOAP project
- In Eclipse, click
File >
New >
Other.
This opens the
New dialog box.
- Expand the
Micro Focus COBOL folder, and then click
COBOL Project.
- Click
Next.
This opens the
New COBOL Project Wizard.
- In the
Project name field, type
ProgramSOAP.
- Check
Use default location; then click
Finish.
The
Application Explorer view now shows the
ProgramSOAP project under the
Enterprise Developer > Enterprise Development Projects node.
Set build configuration properties ProgramSOAP
When Eclipse builds the ProgramSOAP project, you want the build action to produce a
shared object (.so) file. To ensure this behavior, you need to set the Build Configuration to the
All Native Library Files target type:
- In the
Application Explorer view, right-click the
ProgramSOAP project, then select
Properties from the context menu.
- Expand
Micro Focus > Build Configurations, and then click
Link.
- In the table of properties in the right pane, click the
Target Type drop-down list, and select
All Native Library Files.
- Click
Apply and Close.
Add ScheduleDemo demonstration files to the project
- From the
Application Explorer view, right-click the
ProgramSOAP project and select
Import from the context menu.
This opens the
Import dialog box.
- Expand
General and click File System.
- Click
Next.
- Click the
Browse button that corresponds to the
From directory field, and browse to the
$COBDIR/demo/imtk/scheduledemo directory.
- Click
Open.
- On the list of files, check all files except
Readme files.
- Click
Finish.
This adds the files to the project and builds the project automatically.