4.7 Deploying plugins
Before you can use developed plugins, you must deploy and start them by using Eclipse. The following describes the procedure.
- Tip
-
You must perform this procedure as a user having Windows administrator roles. Note that the procedure assumes that the root node of the pluginSDK project has been added to the Eclipse Ant view.
-
Start Navigation Platform (J2EE server).
This step is not necessary if Navigation Platform is already running. For details about how to start Navigation Platform, see the manual JP1/Navigation Platform Setup and Operations Guide.
-
Select Run as administrator, and then start Eclipse.
-
Select Window, Show View, Other, Ant, and then Ant. The Ant view appears.
-
From the project imported in 3.2 Importing a pluginSDK project, drag build.xml into the Ant view.
root is added in the Ant view.
-
In the Ant view, click the + icon for root to display the target list.
-
If any plugin is running on the J2EE server, double-click stopEar in the target list.
The J2EE application for the plugin stops.
-
If a plugin exists on the J2EE server, double-click deleteEar in the target list.
The J2EE application for the plugin is deleted.
-
In the target list, double-click clean, and then double-click ear.
Plugins are built.
-
In the target list, double-click deployEar.
The J2EE applications for plugins are imported.
-
In the target list, double-click startEar.
The J2EE applications for plugins are started.
-
Restart Navigation Platform (J2EE server).