Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Icon(s) not replaced" error when building product with Tycho

I'm using Tycho 0.16.0 and I'm getting the following error:

Error - 7 icon(s) not replaced in C:\Users\weich01\AppData\Local\Temp\p2.brandingIron8219115442087687624\launcher.exe using C:\Development\Workspaces\Workspace RCP SR2\de.mycompany.myproduct.product\target\products\MyProduct\de.mycompany.myproduct.feature\logo_pms_2011.ico

With the export wizard in Eclipse, everything works fine, so product definition is correct. The icon file contains bitmaps in all sizes.

like image 975
Jannik Weichert Avatar asked Dec 18 '12 11:12

Jannik Weichert


1 Answers

You should check your product configuration file (*.product). The path to icons should be relative to product project. So for example with project:

com.myapplication.product/
    myProduct.product
    icons/
        application.ico

your myProduct.product file should look like this:

 ...
 <launcher name="executable">
   <linux icon="icons/application.xpm"/>
   <macosx icon="icons/application_32.icns"/>
   <solaris/>
   <win useIco="true">
      <ico path="icons/application.ico"/>
      <bmp/>
   </win>
 </launcher>
 ...

Check this sample of tycho product configuration: https://github.com/jsievers/tycho-demo/tree/master/tychodemo.product

like image 87
pawcik Avatar answered Sep 24 '22 11:09

pawcik