|
Re: Newbie: Eclipse product icons not showing in windows (Tycho build) [message #1786271 is a reply to message #1786268] |
Sun, 29 April 2018 04:39 |
Ed Merks Messages: 33252 Registered: July 2009 |
Senior Member |
|
|
The image shown in the window does not come from the product icon; that's just embedded in the *.exe which appears to be working, right? The image in the window comes from your product/application extension points. E.g., like this in Oomph's installer application/product plugin.xml: <extension
id="application"
point="org.eclipse.core.runtime.applications">
<application
cardinality="singleton-global"
thread="main"
visible="true">
<run
class="org.eclipse.oomph.setup.internal.installer.InstallerApplication">
</run>
</application>
</extension>
<extension id="product" point="org.eclipse.core.runtime.products">
<product
name="%product.name"
description="%product.description"
application="org.eclipse.oomph.setup.installer.application">
<property name="appName" value="%application.name"/>
<property
name="windowImages"
value="icons/oomph16.png,icons/oomph32.png,icons/oomph48.png,icons/oomph64.png,icons/oomph128.png,icons/oomph256.png">
</property>
<property
name="titleImage"
value="icons/simple/title.png">
</property>
</product>
</extension> Perhaps you've already done that correctly but forgot to ensure they are in the build.properties' bin.includes:bin.includes = plugin.xml,\
META-INF/,\
.,\
about.html,\
plugin.properties,\
icons/,\
oomph32.png,\
about.properties,\
about.mappings,\
about.ini,\
splash.bmp,\
html/,\
fonts/ Note that this is also where we put the splash.bmp.
You can have a look at http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/products/org.eclipse.oomph.setup.installer.product and at http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/plugins/org.eclipse.oomph.setup.installer for more details.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Powered by
FUDForum. Page generated in 0.02762 seconds