Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Always meet bundle missing problem while exporting RCP(Export RCP problem)
Always meet bundle missing problem while exporting RCP [message #504670] Mon, 21 December 2009 22:04 Go to next message
Li Junhong is currently offline Li Junhong
Messages: 1012
Registered: July 2009
Senior Member
Dear All,

I configured all the necessary plugins in a feature, then I added this feature to my product file.

This product works very well in debug mode(by clicking "Launch an Eclipse application in Debug mode" in the product editor). But when I'm trying to export it. I always meet the error of "Cannot complete the install because one or more required items could not be found."

I tried many times, and the missing plugins were different each time. I'm really confused about this. I read some articles about how to export an RCP application, and followed the guides. But just failed.

BTW, I can export this RCP based on Eclipse 3.4, after upgrading to Eclipse 3.5, and fixed some errors in feature.xml, I met this crazy problem.

Can anyone help me out? Any suggestions are welcome. Thanks so much.
Re: Always meet bundle missing problem while exporting RCP [message #505097 is a reply to message #504670] Sat, 26 December 2009 19:02 Go to previous messageGo to next message
Lars Vogel is currently offline Lars Vogel
Messages: 1049
Registered: July 2009
Senior Member

Hi Li,

does the description here work for you:
http://www.vogella.de/articles/RichClientPlatform/article.ht ml

Best regards, Lars
--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter

On 21.12.2009 14:04, Li Junhong wrote:
> Dear All,
>
> I configured all the necessary plugins in a feature, then I added this
> feature to my product file.
>
> This product works very well in debug mode(by clicking "Launch an
> Eclipse application in Debug mode" in the product editor). But when I'm
> trying to export it. I always meet the error of "Cannot complete the
> install because one or more required items could not be found."
>
> I tried many times, and the missing plugins were different each time.
> I'm really confused about this. I read some articles about how to export
> an RCP application, and followed the guides. But just failed.
>
> BTW, I can export this RCP based on Eclipse 3.4, after upgrading to
> Eclipse 3.5, and fixed some errors in feature.xml, I met this crazy
> problem.
>
> Can anyone help me out? Any suggestions are welcome. Thanks so much.
Re: Always meet bundle missing problem while exporting RCP [message #505155 is a reply to message #505097] Mon, 28 December 2009 02:31 Go to previous messageGo to next message
Li Junhong is currently offline Li Junhong
Messages: 1012
Registered: July 2009
Senior Member
Hi Lars,

Thanks so much for your kindly help.

Actually, when I exported the rcp, I checked on the option of "Generate metadata repository", if I did this, the exporting process failed, but if I check it off, I could export it successfully.

At the end, I had to check off this option to make sure I can export my RCP.

Do you happen to know what's the difference between the above two ways?

Anyway, I can export it now, thanks again.

------------------------------------------
Li

Re: Always meet bundle missing problem while exporting RCP [message #505234 is a reply to message #505155] Mon, 28 December 2009 19:41 Go to previous messageGo to next message
Lars Vogel is currently offline Lars Vogel
Messages: 1049
Registered: July 2009
Senior Member

Hi,

Good to hear that the export worked.

AFAIK if you check the option a p2 enabled directory will be created so
that you could use the update manager to install new versions of your
RCP application.

Best regards, Lars

--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter


On 27.12.2009 18:31, Li Junhong wrote:
> Hi Lars,
>
> Thanks so much for your kindly help.
>
> Actually, when I exported the rcp, I checked on the option of "Generate
> metadata repository", if I did this, the exporting process failed, but
> if I check it off, I could export it successfully.
>
> At the end, I had to check off this option to make sure I can export my
> RCP.
>
> Do you happen to know what's the difference between the above two ways?
>
> Anyway, I can export it now, thanks again.
>
> ------------------------------------------
> Li
>
>
Re: Always meet bundle missing problem while exporting RCP [message #505262 is a reply to message #505234] Tue, 29 December 2009 01:13 Go to previous message
Li Junhong is currently offline Li Junhong
Messages: 1012
Registered: July 2009
Senior Member
Hi Lars,

I agreed with you so much! If check the option, there will be a p2 enabled directory in the exported directory, and the RCP can use the update manager function directly.

For now, if I want to use the update manager, I have to write some code to enable it. Anyway, I have done this already. Thanks!

------------------------------------------------------------
Best regards, Li
Previous Topic:command "org.eclipse.ui.views.showView" is always disabled
Next Topic:Export Product silently "fails" on 3.5 and Windows 7
Goto Forum:
  


Current Time: Thu Oct 23 05:55:34 GMT 2014

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

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