Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » installing an feature based RCP application with director.app.application
installing an feature based RCP application with director.app.application [message #121098] Wed, 12 November 2008 18:44 Go to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 493
Registered: July 2009
Senior Member

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 #121134 is a reply to message #121098] Thu, 13 November 2008 12:22 Go to previous messageGo to next message
Rich Scott is currently offline Rich ScottFriend
Messages: 63
Registered: July 2009
Member
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
Re: installing an feature based RCP application with director.app.application [message #121159 is a reply to message #121134] Thu, 13 November 2008 14:31 Go to previous messageGo to next message
michael.sacarny is currently offline michael.sacarnyFriend
Messages: 103
Registered: July 2009
Location: USA
Senior Member
Also, take a look at:
http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html

I worked through the same type of issue.

msacarny
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 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 493
Registered: July 2009
Senior Member

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
>
>
Re: installing an feature based RCP application with director.app.application [message #121223 is a reply to message #121159] Sat, 15 November 2008 18:43 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 493
Registered: July 2009
Senior Member

Thanks for the pointer Michael that was helpfull.

" msacarny" <michael.sacarny@analog.com> wrote in message
news:a0aadfe8bfb9096c19f0688e035f671e$1@www.eclipse.org...
> Also, take a look at:
> http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html
>
> I worked through the same type of issue.
>
> msacarny
>
Previous Topic:Problem with Category name when browsing a site
Next Topic:SignatureException during self-provisioning
Goto Forum:
  


Current Time: Thu Dec 26 20:16:11 GMT 2024

Powered by FUDForum. Page generated in 0.04865 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top