[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.rcp] Re: branding - launcher icon (IDE versus headless build)

Bernie,
The build is not finding your monitor.ico file.
For best results, the first segment of the path to the ico file should actually be the plug-id, not the name of the project on disk.
eg: <ico path="com.tendril.client/images/monitor.ico" />


The build does make some attempt to find the file if the plug-in id is not used, but it is failing in your case. Notice the generated branding task in the assemble file:

<eclipse.brand
root="${eclipse.base}/win32.win32.x86/${collectingFolder}"
icons="${launcherIcons}, ${buildDirectory}/plugins/TendrilClient/images/monitor.ico, ${buildDirectory}/features/TendrilClient/images/monitor.ico"
name="${launcherName}"
os="${os}"
/>


The plugins & features paths are fallback places to look when we didn't find the ico file. It works from the UI export because they set the ${launcherIcons} property for us.

-Andrew
Tendril wrote:
All,

On a windows XP box,
We have installed eclipse-rcp-europa-win32.zip; and the eclipse-RCP-3.3-delta-pack.zip


into our base location: c:/Program Files/eclipse.


our product file contains following:

   <launcher name="TendrilMonitor">
      <win useIco="true">
         <ico path="TendrilClient/images/monitor.ico"/>
         <bmp/>
      </win>
   </launcher>

We are able to build the product via the Export capability,

but for the headless build, when using the equinox launcher
(c:/program files/eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar), productBuild.xml to build our plugin based product.



The build completes, but we are seeing the following error:

[exec]
[exec] children:
[exec]
[exec] rootFileswin32_win32_x86:
[exec] [copy] Copying 3 files to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\win32.win32.x86\TendrilClient
[exec] [eclipse.brand] Error - 7 icon(s) not replaced in D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\win32.win32.x86\TendrilClient\launcher.exe using D:/_GA_svn/_g2_deploy_monitor_TI/tendril_client_build/build/plugins/TendrilClient/images/monitor.ico
[exec] [zip] Building zip: D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\I.TestBuild\TestBuild-win32.win32.x86.zip
[exec] [delete] Deleting directory D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp
[exec]



Any suggestions on what could be going wrong?

thanks,

Bernie


Attached is the eclipse generated assemble*.xml file that has the error -


Below is complete log of build, if that helps

[exec] Buildfile: C:/Program Files/eclipse/plugins/org.eclipse.pde.build_3.3.0.v20070612/scripts/productBuild/productBuild.xml
[exec]
[exec] main:
[exec]
[exec] preBuild:
[exec]
[exec] preSetup:
[exec]
[exec] checkLocalMaps:
[exec]
[exec] getMapFiles:
[exec] [concat] No existing resources and no nested text, doing nothing
[exec]
[exec] postSetup:
[exec]
[exec] checkLocalBase:
[exec]
[exec] getBaseComponents:
[exec]
[exec] generateFeature:
[exec]
[exec] fetch:
[exec]
[exec] generateFeature:
[exec]
[exec] generate:
[exec]
[exec] preGenerate:
[exec]
[exec] allElements:
[exec]
[exec] allElementsDelegator:
[exec]
[exec] init:
[exec]
[exec] generateScript:
[exec]
[exec] postGenerate:
[exec]
[exec] clean:
[exec]
[exec] allElements:
[exec]
[exec] allElementsDelegator:
[exec]
[exec] init:
[exec]
[exec] cleanElement:
[exec] [echo] D:/_GA_svn/_g2_deploy_monitor_TI/tendril_client_build/build/features/org.eclipse.pde.build.container.feature
[exec]
[exec] init:
[exec]
[exec] clean:
[exec]
[exec] init:
[exec]
[exec] all.features:
[exec]
[exec] init:
[exec]
[exec] clean:
[exec]
[exec] all.plugins:
[exec]
[exec] update.feature:
[exec]
[exec] all.children:
[exec]
[exec] process:
[exec]
[exec] preProcess:
[exec]
[exec] allElements:
[exec]
[exec] allElementsDelegator:
[exec]
[exec] init:
[exec]
[exec] processElement:
[exec]
[exec] init:
[exec]
[exec] build.jars:
[exec]
[exec] init:
[exec]
[exec] all.features:
[exec]
[exec] init:
[exec]
[exec] build.jars:
[exec]
[exec] all.plugins:
[exec]
[exec] update.feature:
[exec]
[exec] all.children:
[exec]
[exec] postProcess:
[exec]
[exec] assemble:
[exec]
[exec] preAssemble:
[exec]
[exec] allElements:
[exec]
[exec] allElementsDelegator:
[exec]
[exec] init:
[exec]
[exec] assembleElement:
[exec]
[exec] main:
[exec]
[exec] assemble.org.eclipse.pde.build.container.feature.win32.win32.x86:
[exec]
[exec] main:
[exec] [mkdir] Created dir: D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\I.TestBuild
[exec] [mkdir] Created dir: D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp
[exec]
[exec] init:
[exec]
[exec] gather.bin.parts:
[exec]
[exec] rootFileswin32_win32_x86:
[exec] [mkdir] Created dir: D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\win32.win32.x86\TendrilClient
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\win32.win32.x86\TendrilClient
[exec]
[exec] init:
[exec]
[exec] gather.bin.parts:
[exec]
[exec] children:
[exec]
[exec] rootFileswin32_win32_x86:
[exec] [copy] Copying 3 files to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\win32.win32.x86\TendrilClient
[exec] [eclipse.brand] Error - 7 icon(s) not replaced in D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\win32.win32.x86\TendrilClient\launcher.exe using D:/_GA_svn/_g2_deploy_monitor_TI/tendril_client_build/build/plugins//TendrilClient/images/monitor.ico
[exec] [zip] Building zip: D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\I.TestBuild\TestBuild-win32.win32.x86.zip
[exec] [delete] Deleting directory D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp
[exec]
[exec] postAssemble:
[exec]
[exec] package:
[exec]
[exec] prePackage:
[exec]
[exec] allElements:
[exec]
[exec] allElementsDelegator:
[exec]
[exec] init:
[exec]
[exec] packageElement:
[exec]
[exec] main:
[exec]
[exec] assemble.org.eclipse.pde.build.container.feature.win32.win32.x86:
[exec]
[exec] main:
[exec] [mkdir] Created dir: D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 7 files to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins\org.eclipse.core.runtime.compatibility.registry_3.2.100.v20070316
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 7 files to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.0.v20070523
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec] [copy] Copying 1 file to D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp\TendrilClient\plugins
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec]
[exec] jarUp:
[exec]
[exec] jarIng:
[exec] [zip] Updating zip: D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\I.TestBuild\TestBuild-win32.win32.x86.zip
[exec] [delete] Deleting directory D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\tmp
[exec]
[exec] postPackage:
[exec]
[exec] postBuild:
[exec]
[exec] postBuild:
[exec]
[exec] gatherLogs:
[exec] [mkdir] Created dir: D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\I.TestBuild\compilelogs
[exec]
[exec] allElements:
[exec]
[exec] allElementsDelegator:
[exec]
[exec] init:
[exec]
[exec] gatherLogs:
[exec]
[exec] init:
[exec]
[exec] zip.logs:
[exec] [mkdir] Created dir: D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\features\org.eclipse.pde.build.container.feature\feature.temp.folder
[exec]
[exec] init:
[exec]
[exec] all.features:
[exec]
[exec] init:
[exec]
[exec] gather.logs:
[exec]
[exec] all.plugins:
[exec]
[exec] update.feature:
[exec]
[exec] all.children:
[exec] [zip] Warning: skipping zip archive D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\features\org.eclipse.pde.build.container.feature\org.eclipse.pde.build.container.feature_1.0.0.log.zip because no files were included.
[exec] [delete] Deleting directory D:\_GA_svn\_g2_deploy_monitor_TI\tendril_client_build\build\features\org.eclipse.pde.build.container.feature\feature.temp.folder
[exec] BUILD SUCCESSFUL
[exec]
[exec] BUILD SUCCESSFUL
[exec] Total time: 18 seconds