How to change the executable icon generated from an E4 RCP product?

Asked

Viewed 39 times

0

I have an app standalone in Eclipse 4 RCP.

When exporting it as a product, as shown below:

Wizard de exportação de produto Eclipse

The following structure is generated:

Estrutura gerada

How to change the application.exe executable icon? I have already tried to put images in the Launching tab of the file . product, but without success.

Imagens launching do arquivo .product

1 answer

1


I was in two trouble:

  1. My file .ico was not being accepted by Eclipse, so I took the Eclipse icon, opened in GIMP and changed their respective images/layers to mine in PNG format. When exporting, I unchecked all options to compress images. Set an image for the sizes 16x16, 32x32, 48x48 and 256x256; as 32-bit and 8-bit alpha channel; in addition to an image for the sizes 16x16, 32x32 and 48x48; as 8 bits and 1 bit alpha channel;

  2. The export process of my product was picking up the icon of the last export and not what I set. So I changed the Launcher Name on the flap Launching of the archive .product, what caused the cache to be updated and the new icon to be used.

OBS: For the second problem, updating the OS icon cache already solves.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.