Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] "Error - 1 icon(s) not replaced", missing 256x256x32 bitmap

Hi all,

 

While trying to materialize a .product with Tycho, we cannot replace all bitmaps in the native launcher.

We are using Windows and Tycho 0.20.0.

 

The launcher.exe has 7 bitmaps that need to be replaced. These bitmaps are specified in the .product file.

During the build, we get the following error:

 

Error - 1 icon(s) not replaced in […]\launcher.exe using […]

 

The resulting native launcher has 6 of its 7 bitmaps replaced. The bitmap that is not replaced is the largest one of size 256x256 and depth 32.

The location of the .product file contains all 7 bitmaps, but when I look at the target folder: target\products\<prodId> I only see 6 bitmaps and it is missing the largest one.

So, 7 bitmaps are defined in the .product file, 7 bitmaps are available, but only 6 of them are copied to the target folder to be used in the materialized product.

 

I found this bug [1] where something similar should be solved. But according to comment 7, Andy Jin reported that it still happens with Tycho 0.19.0.

Tobias Oberlies reports in comment 8 that a fix was made in eclipse-application, not in eclipse-repository. But when I run the Tycho build with eclipse-application, I get a remark that it is deprecated and should use eclipse-repository and instead of 1 icon not replaced, it now mentions that 7 icons are not replaced.

 

I looked at the source of PublishProductMojo in tycho-p2-publisher-plugin and finally ended up at org.eclipse.tycho.model.Launcher.

This class gathers the paths for the bitmaps, as specified in the .product file. However, it is only aware of 6 bitmaps. It is not aware of the 7th large bitmap (stored in attribute “winExtraLargeHigh”)

 

How should this be fixed?

 

 

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=384509

 

 

Marcel Romijn
Software Engineer
Rocket Software
Korte Parallelweg 1 • 3311 JN Dordrecht • Netherlands
Tel: +31 78 6322800 • Fax: +31 78 6138134
Email: mromijn@xxxxxxxxxxxxxxxxxx
Web: seagull.rocketsoftware.com

Twitter FacebookYouTube LinkedIn

 


Back to the top