installing an feature based RCP application with director.app.application [message #121098] |
Wed, 12 November 2008 18:44 |
|
Hello,
Maybe i was not clear in my previous post.
I have created a basic RCP application (Mail Demo Template) with a product
consisting of plugins. When i installed this with the director application i
used the product id as the installIU. This installed a complete product.
Now i have rebuild my RCP with features instead of plugins. I cannot find
the installIU to use to install the complete product. Do i need
to install in parts? What to do?
Thanks again
Wim
|
|
|
|
|
Re: installing an feature based RCP application with director.app.application [message #121215 is a reply to message #121134] |
Sat, 15 November 2008 18:42 |
|
Hello Rich,
Thank you for yout help. I could not get your application to work at first
because the RCP feature that you specified in the product contained a
different version than was available so it was not included whan i generated
the product. I reported this in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=255439
After this was solved, i could get your application to install and run and
even the update menu did run. Which was great but the actual install part
did not seem to work. Then i remembered from Kai's blog that he had to add a
few more plugins. So when i added this to the dependencies of the mail
plugin the stuff worked and i could actually update my product from within
the product.
I suspected that the additions of the dependencies were only used by P2 to
include the plugins so i figured out the features that included the plugins
mentioned by Kai.
I ended up by having my feature depend on
"org.eclipse.rcp"
"org.eclipse.help"
"org.eclipse.equinox.p2.user.ui"
and removed the dependencies on the required plugins.
after a few nights of cursing i found out for my own applcation that my
product was stored in plugin with id "com.remainsoftware.product" and that
made the name of the installable unit "com.remainsoftware.product.product"
instead of "com.remainsoftware.product" which was also an installable unit
but did not produce the executable.
Long story short: It works but you have to be very very cautious to get
every dot on the right place. Now that I know how the stuff works it is
actually quite easy.
Thanks for pointing me to the right direction. It was just the push i needed
to get this right.
Best regards,
Wim
"Rich Scott" <rscott@cas.org> wrote in message
news:a672eceadb2c3df15235eb2ab174ef48$1@www.eclipse.org...
> Wim,
>
> You should be able to use the product as the IU for installing a feature
> based product. When you rebuilt the application, did you convert the
> product into a feature based product? That was all that I had to do.
> You might want to be aware of bug 239227 which prevents feature branding
> from displaying when a feature based product is deployed with p2
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=239227).
> The bugzilla report, above, has an example project attached to demonstrate
> the problem. It is a version of the mail template converted to a feature
> based product. The example builds, installs and runs; it just does not
> have the proper braning shown in the about screen. This might be helpful
> as an example. I also found that Kai Toedter's blog was very useful for
> the early work he did, http://toedter.com/blog/?p=24.
>
> Hope this helps
> Rich
>
> Wim Jongman wrote:
>
>> Hello,
>
>> Maybe i was not clear in my previous post.
>
>> I have created a basic RCP application (Mail Demo Template) with a
>> product consisting of plugins. When i installed this with the director
>> application i used the product id as the installIU. This installed a
>> complete product.
>
>> Now i have rebuild my RCP with features instead of plugins. I cannot find
>> the installIU to use to install the complete product. Do i need
>> to install in parts? What to do?
>
>> Thanks again
>
>> Wim
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04865 seconds