Hitachi

JP1 Version 12 JP1/Navigation Platform Development Guide


4.2 Importing a template plugin project

The following shows the procedure for importing a template plugin project to Eclipse.

Note

Perform this task only once for one plugin. This task is not needed when you modify a created plugin.

  1. Start Eclipse.

  2. In Eclipse, select File and then Import.

    The Import window appears.

  3. Select General, and then Existing Projects into Workspace.

  4. Click the Next button.

  5. In the Select root directory text box, specify the template plugin directory created in 4.1 Creating template plugins.

  6. Click the Finish button.

    The template plugin project is added to Eclipse.

Notes:
  • Do not select the Copy projects into workspace check box.

  • To start Eclipse, right-click the eclipse.exe file, and then select Run as administrator. If this condition is not satisfied, operation is unpredictable.

  • Depending on the Eclipse version, an error message indicating that the workspace is being refreshed might appear during import. If this error message appears, delete the imported project, and then import it again.

    To prevent such errors, you need to close or refresh the pluginSDK project before you start the import. Right-click the pluginSDK project displayed in the Project Explorer view, and then select Close Project or Update.