laucher icon during headless build [message #2099] |
Wed, 07 May 2008 21:49  |
Eclipse User |
|
|
|
I have a product configuration with a launcher ico file
<win useIco="true">
<ico path="/com.example.foo/icons/icons.ico"/>
<bmp/>
</win>
When built in Eclipse, the exe is branded, but headless it was not.
After debugging, I realized the laucherIcons property was null which was
skipping the branding. So I added
launcherIcons=/com.example.foo/icons/icons.ico
to my build.properties and it worked. Why does the headless build not
read from the product file? If there is a good reason, then this
property should be in the build.properties template.
Or am I doing something wrong?
Thanks,
Will
|
|
|
Re: laucher icon during headless build [message #3234 is a reply to message #2099] |
Wed, 14 May 2008 17:37  |
Eclipse User |
|
|
|
The headless build does try to read the .product file.
It tries to interpret the path as "/<plugin-id>/icons/icons.ico" or
"/<feature-id>/icons/icons.ico". Failing that it also tries
${buildDirectory}/plugins/<ico-path> and
${buildDirectory}/features/<ico-path>
If you look at the call to the eclipse.brand task in the assemble.*.xml
and package.*.xml files you should see the paths it is trying.
The launcherIcons property exists as a backup in case for some reason
none of the other paths tried were correct.
-Andrew
Will Horn wrote:
> I have a product configuration with a launcher ico file
>
> <win useIco="true">
> <ico path="/com.example.foo/icons/icons.ico"/>
> <bmp/>
> </win>
>
> When built in Eclipse, the exe is branded, but headless it was not.
> After debugging, I realized the laucherIcons property was null which was
> skipping the branding. So I added
>
> launcherIcons=/com.example.foo/icons/icons.ico
>
> to my build.properties and it worked. Why does the headless build not
> read from the product file? If there is a good reason, then this
> property should be in the build.properties template.
>
> Or am I doing something wrong?
>
> Thanks,
> Will
|
|
|
Re: laucher icon during headless build [message #566813 is a reply to message #2099] |
Wed, 14 May 2008 17:37  |
Eclipse User |
|
|
|
The headless build does try to read the .product file.
It tries to interpret the path as "/<plugin-id>/icons/icons.ico" or
"/<feature-id>/icons/icons.ico". Failing that it also tries
${buildDirectory}/plugins/<ico-path> and
${buildDirectory}/features/<ico-path>
If you look at the call to the eclipse.brand task in the assemble.*.xml
and package.*.xml files you should see the paths it is trying.
The launcherIcons property exists as a backup in case for some reason
none of the other paths tried were correct.
-Andrew
Will Horn wrote:
> I have a product configuration with a launcher ico file
>
> <win useIco="true">
> <ico path="/com.example.foo/icons/icons.ico"/>
> <bmp/>
> </win>
>
> When built in Eclipse, the exe is branded, but headless it was not.
> After debugging, I realized the laucherIcons property was null which was
> skipping the branding. So I added
>
> launcherIcons=/com.example.foo/icons/icons.ico
>
> to my build.properties and it worked. Why does the headless build not
> read from the product file? If there is a good reason, then this
> property should be in the build.properties template.
>
> Or am I doing something wrong?
>
> Thanks,
> Will
|
|
|
Powered by
FUDForum. Page generated in 0.04022 seconds