Platform.getBundle(symbolicName) return null [message #1732151] |
Fri, 13 May 2016 01:35 |
Jamling Li Messages: 9 Registered: August 2011 |
Junior Member |
|
|
I write an eclipse plugin, some image loaded from res directory under plugin.
When I "Run as eclipse appliction" the image icon of toolbar displayed, but after publishing, I install the plugin with feature, the icon of toolbar not display.
I try to debug, and I found the cause.
the location is
ResourceManager#getPluginImageURL(String symbolicName, String path). the Platform.getBundle(symbolicName) return null
The ResourceManager.java was auto created with WindowBuilder.
PS:
1, the plugin is auto-start when eclipse stratup.
2, my feature project select "unpack the plugin archive after installation
3, Manifest.MF runtime classpath include ./
3, eclipse version: 4.5.0
4, the published plugin is : Android ADT-extension (avaliable in marketplace)
-
Attachment: null.png
(Size: 64.19KB, Downloaded 646 times)
[Updated on: Thu, 19 May 2016 08:47] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02271 seconds