hi, laurentsd!
I want to creat a plugin package, but when I right-click on my sample-project and select vSphere SDK Tools, then I find that "Package vSphere Client plugin" option is nonactivated, the same situation founded in vSphere SDK Tools > Export Java service bundle on sample Java project.
Question1:How can I active this options?
Question2:If I creat plugin package manually(create plugin-package.xml manually, copy XX.jar, XX.war to plugins directory), can I run my plugin in vsphere web client?
This tool is not available for HTML plugins at the moment. See docs/html-tutorial.html#package-plugin and docs/SDK-Tutorial.html#package-plugin for more info on how to build and test your plugin-package.
4. Packaging and Registration
...
It is not possible to generate plugin-package.xml with the vSphere SDK Tools menu but this file is easy to edit manually. Here is an example from the chassisA sample:
<?xml version="1.0" encoding="UTF-8"?>
<pluginPackage id="com.vmware.samples.chassisA.html" version="5.5.0" name="ChassisA Client"
description="SDK sample adding chassis objects" vendor="VMware">
<dependencies>
<!-- Minimum vSphere Client version compatible with this plugin -->
<pluginPackage id="com.vmware.vsphere.client" version="5.5.1" />
</dependencies>
<bundlesOrder>
<bundle id="com.google.gson" />
<bundle id="com.vmware.samples.chassisa.service" />
<bundle id="com.vmware.samples.chassisa" />
</bundlesOrder>
</pluginPackage>
This tool is not available for HTML plugins at the moment. See docs/html-tutorial.html#package-plugin and docs/SDK-Tutorial.html#package-plugin for more info on how to build and test your plugin-package.
4. Packaging and Registration
...
It is not possible to generate plugin-package.xml with the vSphere SDK Tools menu but this file is easy to edit manually. Here is an example from the chassisA sample:
<?xml version="1.0" encoding="UTF-8"?>
<pluginPackage id="com.vmware.samples.chassisA.html" version="5.5.0" name="ChassisA Client"
description="SDK sample adding chassis objects" vendor="VMware">
<dependencies>
<!-- Minimum vSphere Client version compatible with this plugin -->
<pluginPackage id="com.vmware.vsphere.client" version="5.5.1" />
</dependencies>
<bundlesOrder>
<bundle id="com.google.gson" />
<bundle id="com.vmware.samples.chassisa.service" />
<bundle id="com.vmware.samples.chassisa" />
</bundlesOrder>
</pluginPackage>