Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Product export - osgi.bundle missing
Product export - osgi.bundle missing [message #498659] Tue, 17 November 2009 22:37 Go to next message
Krzysztof  is currently offline Krzysztof Friend
Messages: 3
Registered: November 2009
Junior Member
Dear All,

I am building an RCP application made up of a couple of plugins. There is the master plugin, which uses classes from another project (DB Connection). To enable that I added it (DB Connection) to the master plugin's Dependencies->Reuquired Plug-ins. It works fine as long as I start the application from Eclipse. When I want to export the product to create an independent application I get a " 'Export Product' has
encountered a problem" error message with the following content:

"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: osgi.bundle,DB_Connection,1.0.0"


.metadata/.log entry for the export operation is as follows:

"!ENTRY org.eclipse.pde.core 4 0 2009-11-17 23:23:44.366
!MESSAGE An error occurred while collecting items to be installed

!SUBENTRY 1 org.eclipse.pde.core 4 0 2009-11-17 23:23:44.366
!MESSAGE session context was:(profile=profile, phase=org.eclipse.equinox.internal.provisional.p2.engine.pha ses.Collect, operand=, action=).

!SUBENTRY 1 org.eclipse.pde.core 4 0 2009-11-17 23:23:44.366
!MESSAGE No repository found containing: osgi.bundle,DB_Connection,1.0.0"


Apparently the export wizard cannot see the DB_Connection project somehow. Does anybody possibly know how can I solve the problem?

Many thanks in advance!
Krzysztof
Re: Product export - osgi.bundle missing [message #498813 is a reply to message #498659] Wed, 18 November 2009 17:16 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 418
Registered: July 2009
Senior Member
Hi Krzystof,

It looks like the configuration tab lists a product with a wrong version
number. Did the version number of the bundle increase after the product was
created?

Best regards,

Wim Jongman




> Dear All,
>
> I am building an RCP application made up of a couple of plugins. There is
the master plugin, which uses classes from another project (DB Connection).
To enable that I added it (DB Connection) to the master plugin's
Dependencies->Reuquired Plug-ins. It works fine as long as I start the
application from Eclipse. When I want to export the product to create an
independent application I get a " 'Export Product' has
> encountered a problem" error message with the following content:
>
> "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: osgi.bundle,DB_Connection,1.0.0"
>
>
> metadata/.log entry for the export operation is as follows:
>
> "!ENTRY org.eclipse.pde.core 4 0 2009-11-17 23:23:44.366
> !MESSAGE An error occurred while collecting items to be installed
>
> !SUBENTRY 1 org.eclipse.pde.core 4 0 2009-11-17 23:23:44.366
> !MESSAGE session context was:(profile=profile,
phase=org.eclipse.equinox.internal.provisional.p2.engine.pha ses.Collect,
operand=, action=).
>
> !SUBENTRY 1 org.eclipse.pde.core 4 0 2009-11-17 23:23:44.366
> !MESSAGE No repository found containing: osgi.bundle,DB_Connection,1.0.0"
>
>
> Apparently the export wizard cannot see the DB_Connection project somehow.
Does anybody possibly know how can I solve the problem?
>
> Many thanks in advance!
> Krzysztof
Re: Product export - osgi.bundle missing [message #498868 is a reply to message #498813] Wed, 18 November 2009 21:18 Go to previous messageGo to next message
Krzysztof  is currently offline Krzysztof Friend
Messages: 3
Registered: November 2009
Junior Member
Hi Wim,

Thanks for your reply!

You mean the version of the exported product? The export is unsuccessful, so I cannot even check the version.

Best regards,
Krzysztof



Wim Jongman wrote on Wed, 18 November 2009 12:16
Hi Krzystof,

It looks like the configuration tab lists a product with a wrong version
number. Did the version number of the bundle increase after the product was
created?

Best regards,

Wim Jongman




> Dear All,
>
> I am building an RCP application made up of a couple of plugins. There is
the master plugin, which uses classes from another project (DB Connection).
To enable that I added it (DB Connection) to the master plugin's
Dependencies->Reuquired Plug-ins. It works fine as long as I start the
application from Eclipse. When I want to export the product to create an
independent application I get a " 'Export Product' has
> encountered a problem" error message with the following content:
>
> "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: osgi.bundle,DB_Connection,1.0.0"
>
>
> metadata/.log entry for the export operation is as follows:
>
> "!ENTRY org.eclipse.pde.core 4 0 2009-11-17 23:23:44.366
> !MESSAGE An error occurred while collecting items to be installed
>
> !SUBENTRY 1 org.eclipse.pde.core 4 0 2009-11-17 23:23:44.366
> !MESSAGE session context was:(profile=profile,
phase=org.eclipse.equinox.internal.provisional.p2.engine.pha ses.Collect,
operand=, action=).
>
> !SUBENTRY 1 org.eclipse.pde.core 4 0 2009-11-17 23:23:44.366
> !MESSAGE No repository found containing: osgi.bundle,DB_Connection,1.0.0"
>
>
> Apparently the export wizard cannot see the DB_Connection project somehow.
Does anybody possibly know how can I solve the problem?
>
> Many thanks in advance!
> Krzysztof

Re: Product export - osgi.bundle missing [message #498943 is a reply to message #498868] Thu, 19 November 2009 10:11 Go to previous messageGo to next message
Krzysztof  is currently offline Krzysztof Friend
Messages: 3
Registered: November 2009
Junior Member
Hi All,

I solved the problem. It lied on the fact, that the mentioned project (DB Connection), which was created from external jars, contained unpacked classes (the option "unzip classes" in the project creator was active as default). When I created the project once again, without the unzipping option the product export works.

Wim, thanks for your help!

Krzysztof
Re: Product export - osgi.bundle missing [message #515480 is a reply to message #498943] Thu, 18 February 2010 22:05 Go to previous message
Jennifer is currently offline JenniferFriend
Messages: 9
Registered: February 2010
Junior Member
I FINALLY figured it out after trying everything.

I hadn't correctly configured what needed to be included on the binary build of the plugin that was missing. On the build tab of plugin.xml, I hadn't checked under binary build, the icons folder (needed for views) and the plugin.xml file to include.

They are included when running from Eclipse, so it gets confusing when it doesn't run on the RCP app.

Anyways, hope this helps someone else Smile


Previous Topic:about dialog menu entry
Next Topic:PartInitException when running RCP application outside of Eclipse (Plugin missing on export)
Goto Forum:
  


Current Time: Sun Dec 21 20:57:12 GMT 2014

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

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