We are converting our existing Flex plug-in to HTML 5. We have eliminated the Flex portion and implemented the HTML5 portion.
Everything works great except for one thing, we can't get an icon to show up. In plugin.xml file for the <icon> tag
the following has tried
../../assets/images/Company-Icon-N-16x16.png
../assets/images/Company-Icon-N-16x16.png
/assets/images/Company-Icon-N-16x16.png
/vsphere-client/company-war-4.0.0-SNAPSHOT/assets/images/Company-Icon-N-16x16.png
company-war-4.0.0-SNAPSHOT//assets/images/Company-Icon-N-16x16.png
/vsphere-client/company-war-4.0.0-SNAPSHOT/assets/images/Company-Icon-N-16x16.png
Here's a plugin.xml snippet:
<plugin id="com.company.MyCompany">
<!-- Global Config view -->
<extension id="com.company.views.global.GlobalMyCompanyJS">
<extendedPoint>vise.global.views</extendedPoint>
<object>
<name>Company Configuration</name>
<icon>../../assets/images/Company-Icon-N-16x16.png</icon>
<componentClass className="com.vmware.vsphere.client.htmlbridge.HtmlView">
<object>
<root>
<url>/vsphere-client/company-war-4.0.0-SNAPSHOT/index.html</url>
</root>
</object>
</componentClass>
</object>
<metadata>
<privilege>Datastore.AllocateSpace,Datastore.Browse,Datastore.Delete,Datastore.DeleteFile,Datastore.FileManagement,Datastore.Move,Datastore.Rename</privilege>
</metadata>
</extension>
What's a programmer got to do to get any icon to show up?
We would prefer NOT to have a .properties file, just the path to the file.
We also noticed that the HTML5 samples in the SDK have both src/main/locale and src/main/webapp/locales/en_US directories with property files in each, which is a bit confusing