Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » AbstractUIPlugin.imageDescriptorFromPlugin problems(Don't work when I install my plug-in on the existing image)
AbstractUIPlugin.imageDescriptorFromPlugin problems [message #1746564] Mon, 31 October 2016 23:16
kozhaev Vladimir is currently offline kozhaev VladimirFriend
Messages: 76
Registered: July 2009
Member
I have created the plug-in where I have add icons to the icon folder.
Then get icons image in following way
AbstractUIPlugin.imageDescriptorFromPlugin(PLUGIN_ID, pIconPath).createImage()


It's working fine when I run my plug-in via eclipse run configuration, but don't work(null pointer exception) when I install my plug - ins on standalone version of eclipse.

My build.properties file is

source.. = src/
output.. = bin/
bin.includes = plugin.xml,\
               META-INF/,\
               .,\
               icons/

So, icons folder is included

My path to the icon is like following

Quote:

icons/prod/Commands_Prod_icon.png

Where I'm wrong and how to solve this problem?
Regards,
Vladimir
Previous Topic:creating the setup project
Next Topic:Can't resolve target platform
Goto Forum:
  


Current Time: Sat Nov 17 13:48:05 GMT 2018

Powered by FUDForum. Page generated in 0.01947 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top