You can use the Virgo server from the Eclipse IDE in your development environment to test easily your HTML plug-ins. This step is required only if you use the Eclipse IDE for developing HTML plug-ins.

Configure the proxy to be used for your development machine. For more information, see Set Up the Eclipse Integrated Development Environment.

Register your local vSphere Client with a vCenter Server instance. See Register Your Local vSphere Client with the vCenter Server Instance.

1

Start Eclipse on your development machine.

2

From Help > Install New Software ..., click Add in the Install dialog box.

The Add Repository dialog box appears.

3

In the Name text box, enter a name for the Virgo server tools and in the Location text box, enter http://download.eclipse.org/virgo/snapshot/tooling.

4

From the displayed software, select Eclipse Virgo Tools and click Next.

5

Check the installation details and accept the license agreement.

6

Click Finish to complete the wizard.

Click OK on the warning pop-up dialog box that shows up during the installation process.

7

Restart your Eclipse SDK to apply the changes.

8

When Eclipse starts again, go to Window > Show View > Servers, right-click in the Servers view, and select New > Server.

9

In the New Server wizard, select EclipseRT > Virgo Runtime and click Next.

10

Use the Browse button to navigate to the your_SDK_folder\vsphere-client-sdk\html-client-sdk\vsphere-ui\server directory on your development machine.

11

Click Finish to complete the Virgo server creation.

Before you start the local Virgo server application, you must register the server with a vCenter Server instance. See Register Your Local vSphere Client with the vCenter Server Instance.

You must reconfigure also the following settings:

Set the VMWARE_CFG_DIR environmental variable in the Edit Configuration dialog box that opens when you select Open launch configuration from the General Information pane.

In a Mac OS development environment, click the Environment tab and set the /var/lib/vmware/vsphere-client value to the variable.

In a Windows development environment, click the Environment tab and set the C:/ProgramData/VMware/vCenterServer/cfg/ value to the variable.

From the Overview page of the Virgo server instance that opens when you double-click in the instance in the Server view, configure the following options:

From the Server Startup Configuration pane, select the Tail application trace files into Console view and Start server with -clean option startup options.

From the Redeploy Behavior pane, remove the *.xml file extension.

From the General Information pane, select Open launch configuration. Click the Arguments tab and under VM arguments add the following lines at the end of the text:

-XX:+CMSClassUnloadingEnabled
-XX:MaxPermSize=512m