Home » Archived » Buckminster » Building rcp apps for the mac
| |
Re: Building rcp apps for the mac [message #556389 is a reply to message #555783] |
Wed, 01 September 2010 06:37 |
Peter Kullmann Messages: 240 Registered: July 2009 |
Senior Member |
|
|
How can you produce this working build? (We already had a post-build
script that fixed some issues with wrong names in the osx build and
wouldn't mind to continue with something like this).
In our case we end up with a p2 repo that is not usable. If I try to
provision an osx product, I get this:
An error occurred while collecting items to be installed
session context was:(profile=profile,
phase=org.eclipse.equinox.internal.provisional.p2.engine.pha ses.Collect,
operand=, action=).
No repository found containing:
binary,ch.arenae.funtrade.client.product.executable.cocoa.ma cosx.x86,2.1.0.N20100825-3-7H79-cLaP7-AMVG-USd1wG9tOGKh
Regards,
Peter
Henrik Lindberg schrieb:
> I am sharing your pain.
> I have a working build of an RCP app on OSx, but it suffers from one
> problem - the osx icns file is not generated in the right place and have
> to be manually there after the build. OTOH - For me PDE does not do the
> right thing either.
>
> I hope to be able to drill down into this with thomas' help soon, as it
> is a pain to copy the Resources folder with the icns file from another
> location.
>
> Regards
> - henrik
>
> On 8/28/10 2:06 PM, Peter Kullmann wrote:
>> Hi,
>>
>> I know that there have been a lot of bugs and posts regarding the build
>> of rcps for the mac - unfortunately I cannot see what the state of the
>> matter is.
>> After I have finally managed to bring our builds to buckminster and
>> hudson I noticed that the generated sites are not usable for the mac.
>> Just to make this clear: I start with a rcp app that includes the
>> platform launchers (helios release) and I build the site feature with
>> the buckminster site.p2 action with the properties target.os=*,
>> target.ws=* and target.arch=*. There are errors during the build:
>>
>> java.io.FileNotFoundException:
>> /tmp/p2.brandingIron4201699989068192462/funtrade.app/Content s/MacOS/funtrade.ini
>>
>> (No such file or directory)
>> 3 more of these and these two:
>> Error - 7 icon(s) not replaced in
>> /tmp/p2.brandingIron418735655400775535/launcher.exe using
>> /home/svw/.hudson/jobs/ch.arenae.funtrade.client.rcp/workspa ce/wsbuck/features/ch.arenae.funtrade.client.feature.rcp/ch. arenae.funtrade.client.product.rcp/branding/win32/funtrade.i co
>>
>>
>> Error - 7 icon(s) not replaced in
>> /tmp/p2.brandingIron8741798148153051492/launcher.exe using
>> /home/svw/.hudson/jobs/ch.arenae.funtrade.client.rcp/workspa ce/wsbuck/features/ch.arenae.funtrade.client.feature.rcp/ch. arenae.funtrade.client.product.rcp/branding/win32/funtrade.i co
>>
>>
>>
>> I'm using the latest 3.6 buckminster headless to build this.
>>
>> Perhaps it's a case of
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=278909
>>
>> What can I do? Do I have to revert to PDE build to get a working mac
>> product? Is there a workaround? Not renaming the launcher in the
>> ..product and rename it later with a shell script? Using a patched
>> version of buckminster?
>>
>>
>> Thanks for help,
>> Peter
>>
>
|
|
|
Re: Building rcp apps for the mac [message #556512 is a reply to message #556389] |
Wed, 01 September 2010 15:39 |
Henrik Lindberg Messages: 2509 Registered: July 2009 |
Senior Member |
|
|
I have a setup with a feature that contains the (feature based) product
definition. A second feature describes all the requirements (including
all the required fragments for various platforms).
In my case I use a target definition that consists of "the delta pack"
and "the standard TP".
I then execute buckminster create.product, defined in a cspex in the
feature that has the product. It makes use of the TP with the delta pack.
Regards
- henrik
On 9/1/10 8:37 AM, Peter Kullmann wrote:
> How can you produce this working build? (We already had a post-build
> script that fixed some issues with wrong names in the osx build and
> wouldn't mind to continue with something like this).
>
> In our case we end up with a p2 repo that is not usable. If I try to
> provision an osx product, I get this:
>
> An error occurred while collecting items to be installed
> session context was:(profile=profile,
> phase=org.eclipse.equinox.internal.provisional.p2.engine.pha ses.Collect,
> operand=, action=).
> No repository found containing:
> binary,ch.arenae.funtrade.client.product.executable.cocoa.ma cosx.x86,2.1.0.N20100825-3-7H79-cLaP7-AMVG-USd1wG9tOGKh
>
>
> Regards,
> Peter
>
> Henrik Lindberg schrieb:
>> I am sharing your pain.
>> I have a working build of an RCP app on OSx, but it suffers from one
>> problem - the osx icns file is not generated in the right place and
>> have to be manually there after the build. OTOH - For me PDE does not
>> do the right thing either.
>>
>> I hope to be able to drill down into this with thomas' help soon, as
>> it is a pain to copy the Resources folder with the icns file from
>> another location.
>>
>> Regards
>> - henrik
>>
>> On 8/28/10 2:06 PM, Peter Kullmann wrote:
>>> Hi,
>>>
>>> I know that there have been a lot of bugs and posts regarding the build
>>> of rcps for the mac - unfortunately I cannot see what the state of the
>>> matter is.
>>> After I have finally managed to bring our builds to buckminster and
>>> hudson I noticed that the generated sites are not usable for the mac.
>>> Just to make this clear: I start with a rcp app that includes the
>>> platform launchers (helios release) and I build the site feature with
>>> the buckminster site.p2 action with the properties target.os=*,
>>> target.ws=* and target.arch=*. There are errors during the build:
>>>
>>> java.io.FileNotFoundException:
>>> /tmp/p2.brandingIron4201699989068192462/funtrade.app/Content s/MacOS/funtrade.ini
>>>
>>> (No such file or directory)
>>> 3 more of these and these two:
>>> Error - 7 icon(s) not replaced in
>>> /tmp/p2.brandingIron418735655400775535/launcher.exe using
>>> /home/svw/.hudson/jobs/ch.arenae.funtrade.client.rcp/workspa ce/wsbuck/features/ch.arenae.funtrade.client.feature.rcp/ch. arenae.funtrade.client.product.rcp/branding/win32/funtrade.i co
>>>
>>>
>>> Error - 7 icon(s) not replaced in
>>> /tmp/p2.brandingIron8741798148153051492/launcher.exe using
>>> /home/svw/.hudson/jobs/ch.arenae.funtrade.client.rcp/workspa ce/wsbuck/features/ch.arenae.funtrade.client.feature.rcp/ch. arenae.funtrade.client.product.rcp/branding/win32/funtrade.i co
>>>
>>>
>>>
>>> I'm using the latest 3.6 buckminster headless to build this.
>>>
>>> Perhaps it's a case of
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=278909
>>>
>>> What can I do? Do I have to revert to PDE build to get a working mac
>>> product? Is there a workaround? Not renaming the launcher in the
>>> ..product and rename it later with a shell script? Using a patched
>>> version of buckminster?
>>>
>>>
>>> Thanks for help,
>>> Peter
>>>
>>
|
|
|
Re: Building rcp apps for the mac [message #556922 is a reply to message #556512] |
Fri, 03 September 2010 07:01 |
Peter Kullmann Messages: 240 Registered: July 2009 |
Senior Member |
|
|
I still don't get it. My target is materialized by buckminster and
consists of the two features:
- org.eclipse.platform
- org.eclipse.equinox.executable
both are being materialized with the properties target.os=*, target.ws=*
and target.arch=*.
I have then tried with the mail app example bundle, a feature that
contains the mail app, includes o.e.rcp and o.e.equinox.launchers,
contains a feature based product and finally a site feature that
contains the feature above. This is almost exactly the setup out of the
example in the bucky book.
I can create the site with the site.p2 action in the site feature. And
this site is not usable for the mac:
director/director -r
file:///tmp/buckminster/ch.test.site.feature_1.0.0-eclipse.f eature/site.p2/
-i ch.test.product -d /home/kup/tmp/testapp -p2.os macosx -p2.ws cocoa
-p2.arch x86_64
Installing ch.test.product 1.0.0.201009030849-679-cLSJ--8s73533C6F1IoLCHeF.
An error occurred while collecting items to be installed
session context was:(profile=/home/kup/tmp/testapp,
phase=org.eclipse.equinox.internal.provisional.p2.engine.pha ses.Collect,
operand=, action=).
No repository found containing:
binary,ch.test.product.executable.cocoa.macosx.x86_64,1.0.0. 201009030849-679-cLSJ--8s73533C6F1IoLCHeF
Application failed, log file location:
/home/kup/director/configuration/1283496642578.log
I am now going to test the example in the book...
Peter
Henrik Lindberg schrieb:
> I have a setup with a feature that contains the (feature based) product
> definition. A second feature describes all the requirements (including
> all the required fragments for various platforms).
>
> In my case I use a target definition that consists of "the delta pack"
> and "the standard TP".
>
> I then execute buckminster create.product, defined in a cspex in the
> feature that has the product. It makes use of the TP with the delta pack.
>
> Regards
> - henrik
>
> On 9/1/10 8:37 AM, Peter Kullmann wrote:
>> How can you produce this working build? (We already had a post-build
>> script that fixed some issues with wrong names in the osx build and
>> wouldn't mind to continue with something like this).
>>
>> In our case we end up with a p2 repo that is not usable. If I try to
>> provision an osx product, I get this:
>>
>> An error occurred while collecting items to be installed
>> session context was:(profile=profile,
>> phase=org.eclipse.equinox.internal.provisional.p2.engine.pha ses.Collect,
>> operand=, action=).
>> No repository found containing:
>> binary,ch.arenae.funtrade.client.product.executable.cocoa.ma cosx.x86,2.1.0.N20100825-3-7H79-cLaP7-AMVG-USd1wG9tOGKh
>>
>>
>>
>> Regards,
>> Peter
>>
>> Henrik Lindberg schrieb:
>>> I am sharing your pain.
>>> I have a working build of an RCP app on OSx, but it suffers from one
>>> problem - the osx icns file is not generated in the right place and
>>> have to be manually there after the build. OTOH - For me PDE does not
>>> do the right thing either.
>>>
>>> I hope to be able to drill down into this with thomas' help soon, as
>>> it is a pain to copy the Resources folder with the icns file from
>>> another location.
>>>
>>> Regards
>>> - henrik
>>>
>>> On 8/28/10 2:06 PM, Peter Kullmann wrote:
>>>> Hi,
>>>>
>>>> I know that there have been a lot of bugs and posts regarding the build
>>>> of rcps for the mac - unfortunately I cannot see what the state of the
>>>> matter is.
>>>> After I have finally managed to bring our builds to buckminster and
>>>> hudson I noticed that the generated sites are not usable for the mac.
>>>> Just to make this clear: I start with a rcp app that includes the
>>>> platform launchers (helios release) and I build the site feature with
>>>> the buckminster site.p2 action with the properties target.os=*,
>>>> target.ws=* and target.arch=*. There are errors during the build:
>>>>
>>>> java.io.FileNotFoundException:
>>>> /tmp/p2.brandingIron4201699989068192462/funtrade.app/Content s/MacOS/funtrade.ini
>>>>
>>>>
>>>> (No such file or directory)
>>>> 3 more of these and these two:
>>>> Error - 7 icon(s) not replaced in
>>>> /tmp/p2.brandingIron418735655400775535/launcher.exe using
>>>> /home/svw/.hudson/jobs/ch.arenae.funtrade.client.rcp/workspa ce/wsbuck/features/ch.arenae.funtrade.client.feature.rcp/ch. arenae.funtrade.client.product.rcp/branding/win32/funtrade.i co
>>>>
>>>>
>>>>
>>>> Error - 7 icon(s) not replaced in
>>>> /tmp/p2.brandingIron8741798148153051492/launcher.exe using
>>>> /home/svw/.hudson/jobs/ch.arenae.funtrade.client.rcp/workspa ce/wsbuck/features/ch.arenae.funtrade.client.feature.rcp/ch. arenae.funtrade.client.product.rcp/branding/win32/funtrade.i co
>>>>
>>>>
>>>>
>>>>
>>>> I'm using the latest 3.6 buckminster headless to build this.
>>>>
>>>> Perhaps it's a case of
>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=278909
>>>>
>>>> What can I do? Do I have to revert to PDE build to get a working mac
>>>> product? Is there a workaround? Not renaming the launcher in the
>>>> ..product and rename it later with a shell script? Using a patched
>>>> version of buckminster?
>>>>
>>>>
>>>> Thanks for help,
>>>> Peter
>>>>
>>>
>
|
|
| |
Re: Building rcp apps for the mac [message #556934 is a reply to message #556932] |
Fri, 03 September 2010 08:49 |
|
On 09/03/2010 10:35 AM, Peter Kullmann wrote:
> The example from Chapter 16 "Building RCP Products" doesn't produce
> runnable applications. It doesn't generate launchers (for any platform).
> I suppose that the reason is that the project doesn't include the
> org.eclipse.equinox.executable feature.
>
The product shouldn't need that feature. The launchers should be installed anyway if they are present in the TP.
Please file a bugzilla if you think the example from the book is incorrect.
- thomas
|
|
| | | |
Goto Forum:
Current Time: Thu Apr 18 00:23:53 GMT 2024
Powered by FUDForum. Page generated in 0.02350 seconds
|