3.5.5 Importing Eclipse projects

A separate Eclipse project is provided for each sample program. Import the Eclipse projects for the sample programs. This subsection describes the import procedure in the case where you will use the HelloServiceAdapter sample program.

Reference note
If the imported project includes an XML file for which no applicable XML schema is registered in Eclipse, a warning is generated. However, you can use the XML file without any problems.
  1. From the Eclipse menu, select Window, Open Perspective, and then Other.
    The Open Perspective dialog box opens.

    [Figure]

  2. Select Java EE (default), and then click the OK button.
    The Java EE perspective opens.

    [Figure]

  3. From the menu, select File, and then Import.
    The Select page appears.
  4. In the tree view, select General, and then Existing Projects into Workspace.

    [Figure]

  5. Click the Next button.
    The Import Projects page appears.

    [Figure]

  6. Select the Select root directory radio button, and then click the Browse button.
    The dialog box for selecting a directory opens.
  7. Select the directory that contains the target sample program, and then click the OK button. In this example, the directory you select is as follows: service-platform-installation-directory\CSCTE\Samples\HelloServiceAdapter
    The Import Projects page appears again. Make sure that the check boxes of all projects are selected.
    The locations of other sample programs are as follows:
    HelloBusinessProcess sample program:
    service-platform-installation-directory\CSCTE\Samples\HelloBusinessProcess
    HelloProductArrangement sample program:
    service-platform-installation-directory\CSCTE\Samples\ProductStock
  8. If the Copy projects into workspace check box is not selected, select it.
    If you do not select this check box, the sample programs might be deleted. Make sure that this check box is selected.

    [Figure]

  9. Click the Finish button.
    The selected projects are imported into the perspective.

    [Figure]