문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top