Error reading icon.png for plugin
haddock
New Altair Community Member
Greets Folks,
I'm just easing myself into plugin land and enjoying same; there is one minor glitch I can't find an answer to, which has to do with the following error message...
Hope so!
I'm just easing myself into plugin land and enjoying same; there is one minor glitch I can't find an answer to, which has to do with the following error message...
May 5, 2010 7:11:13 PM WARNING: Error reading icon.png for plugin HaddockWhich shows if I do Help->About Installed Extensions->About Haddock Extension. Does anybody know how to resolve this?
Hope so!
0
Answers
-
Solved. No thanks to anyone but myself.
0 -
I am currently dealing with the same problem. Could you please give to all the community some advices?
thank you,
radone0 -
Hi,
you can put an icon.png under META-INF/. E.g., put it under resources/META-INF/. The next version of the whitepaper will contain a hint.
Cheers,
Simon0 -
I have placed my img_icon.png file to my JAR file at:
- META-INF/img_icon.png
and also to
- icons\16\img_icon.png
- icons\24\img_icon.png
- icons\48\img_icon.png
in the OperatorsTemplate.xml
...
<group key="my_plugin">
<icon>img_icon.png</icon>
...
...
<group key="my_plugin">
<icon>icons/16/img_icon.png</icon>
...0 -
Hi there,
My apologies for not replying sooner, I just needed to check that the original problem is still there, and it is ;D The solution that works for me now has two stages.
1. Stick your icon file in the resources folder of your Eclipse Extension project.
2. Refer to it in the "build_extension.xml" file in the Vega release, the offending line is currently...<metainf dir="${build.resources}" includes="ABOUT.NFO" />
So if your icon file is icon.png it should read<metainf dir="${build.resources}" includes="ABOUT.NFO icon.png" />
And it all might work for you like it just has for me, hope so.
0