You can verify that your plug-in works as expected by first deploying the plug-in on the local vSphere Client provided with the vSphere Client development kit.

You can use two options to deploy your plug-ins on the local vSphere Client.

Copy the plug-in package folder into the plugin-packages directory. For example, on a Windows machine, you can locate this folder under your_SDK_location\vsphere-client-sdk\html-client-sdk\vsphere-ui.

Copy the UI and Java service bundles into the pickup directory on the server. For example, on a Windows machine you can locate this folder under your_SDK_location\vsphere-client-sdk\html-client-sdk\vsphere-ui\server.

If you use the first option make sure that you restart the vSphere Client server to pick up the new plug-ins.

The procedure that follows describes how you can use the second option for speeding up your development process. You can repeat the steps for each new version of the UI and Java service components of your plug-in.

Note

If you use the pickup directory, you must be aware that the string resources are not reloaded when you update the bundles until you restart the vSphere Client Virgo server.

Verify that you register the local vSphere Client with the vCenter Server instance. See Register Your Local vSphere Client with the vCenter Server Instance.

Verify that you run successfully the automation script for generating the plug-in package folder for your plug-in. See Building a Plug-In Package from the Project Template.

1

Navigate to the plugin folder where the WAR and JAR files of your plug-in are generated.

For example, on a Windows machine if you used the default settings of the plug-in generation script, go to your_SDK_location\vsphere-client-sdk\html-client-sdk\tools\Plugin generation scripts\plugin-packages\myplugin\plugin.

2

Copy JAR files to the pickup folder on the server. If the JAR files are deployed successfully, copy the WAR files to the same folder.

For example, on a Windows machine you can paste the files in the your_SDK_location\vsphere-client-sdk\html-client-sdk\vsphere-ui\server\pickup directory.

The Virgo server console is updated when the bundles are deployed on the local vSphere Client.

3

Refresh your Web browser at https://localhost:9443/ui to see the changes.

To complete the verification of your plug-in, deploy the plug-in on a local vSphere Web Client, and on a remote vSphere Client and vSphere Web Client.