3

I have defined all images from 16x16 px - 128x128 px (32 bit) in my eclipse product. They are being written into the plugin.xml of my UI

     <property
           name="windowImages"
           value="icons/16_32.gif,icons/32_32.gif,icons/48_32.gif,icons/64_32.gif,icons/128_32.gif">
     </property>

I now run the export wizard to create a executable. When i start the exe, the application shows a only a coloured red square icon both in explorer and alt+tab instead of my defined (and in build path exported) window images.

I have already tried using .png and .bmp instead, but it didn't work

Anyone already had the same issue?

4Kings
  • 109
  • 1
  • 9
  • Do you have the icons folder included in the binary build? – MatF Feb 05 '14 at 14:33
  • yeah, it's listed in bin.includes of the build.properties – 4Kings Feb 05 '14 at 14:38
  • You could check if they actually are in the .jar file of your plugin. Could you post your build.properties? – MatF Feb 05 '14 at 14:51
  • Hi mat, source.. = src/ output.. = bin/ bin.includes = META-INF/,\ .,\ plugin.xml,\ icons/,\ splash.bmp,\ ppm.hotfix.product – 4Kings Feb 05 '14 at 14:54
  • They are not in the .jar file of the plugin. I have linked them in my project, might that be the cause of error? – 4Kings Feb 05 '14 at 15:12
  • They definitely should be there. What do you mean by "linked in the project"? – MatF Feb 05 '14 at 15:18
  • Thanks @MatF ! I had to import the icon files by copying them into the project. Previously I just had them linked in the project, while they were lying somewhere outside of the project. – 4Kings Feb 05 '14 at 15:37
  • I posted this as an answer, as I think it was helpful. Please accept it :) – MatF Feb 05 '14 at 16:25
  • I have same problem , i check all what are menthined and it seem all fine except image icon in PNG format . Is it require to be in GIF format ? – Al-Mustafa Azhari Apr 11 '18 at 09:29

1 Answers1

5

You have to make sure that the images are actually in the specified folder and that they are included in the bin.include path of the build.properties file.

MatF
  • 1,728
  • 2
  • 14
  • 31