Deploy the Plug-In on a
Local
vSphere Client
vSphere Client
This procedure
describes how you can use the
pickup
directory to speed up your development process. You can repeat the steps for
each new version of the UI and Java service components of your plug-in.
- Register the localvSphere Clientwith thevCenter Serverinstance. 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.
- Set the optionpickup.deployer=truein thewebclient.propertiesfile.
Using the
pickup
during
development is convenient for debugging, but it imposes a performance penalty
in production.
- Navigate to thepluginfolder 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\html-client-sdk\tools\Plugin generation scripts\plugin-packages\myplugin\plugin
- Start thevSphere Clientapplication server by running thestartupscript underbin.For example, on a Windows machine you can find thestartupscript at.your_SDK_location\html-client-sdk\vsphere-ui\server\binThe string resources are reloaded when you restart the Tomcat server.
- Copy JAR files to thepickupfolder 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 thedirectory.your_SDK_location\html-client-sdk\vsphere-ui\server\pickupThe Tomcat server console is updated when the bundles are deployed on the localvSphere Client.
- Refresh your Web browser athttps://localhost:9443/uito see the changes.
To complete the verification
of your plug-in, deploy the plug-in on a remote
vSphere Client
.