Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Export wizard missing bundle(Product export does not find bundle which is there)
Export wizard missing bundle [message #543321] Tue, 29 June 2010 06:57 Go to next message
Florian Philipp is currently offline Florian Philipp
Messages: 43
Registered: February 2010
Member
Hi list!

I'm a bit at a loss. One of my plugins has a dependency to org.eclipse.equinox.http.jetty.
When I double click on it, I am redirected to the correct bundle specification. If I look at the target platform content, I see it there. Version requirements are okay, as well.

My problem is: As soon as I try to export it, the export wizard reports:

 Cannot complete the install because one or more required items could not be found.
 Software being installed: MacEdit 1.0.0.201006290852 (de.xxxxxxx.product 1.0.0.201006290852)
 Missing requirement: Help 1.0.0.201006290852 (de.xxxxxxx.help 1.0.0.201006290852) requires 'bundle org.eclipse.equinox.http.jetty 2.0.0' but it could not be found
 Cannot satisfy dependency:


I have no clue what I could try here. If I start the product from within Eclipse, everything works.
Re: Export wizard missing bundle [message #543422 is a reply to message #543321] Tue, 29 June 2010 12:04 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Florian Philipp wrote:
>
> My problem is: As soon as I try to export it, the export wizard reports:
>

What are you exporting? A Deployable Plugin? A .product file? An RCP app?

PW



--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Export wizard missing bundle [message #543425 is a reply to message #543422] Tue, 29 June 2010 12:27 Go to previous messageGo to next message
Florian Philipp is currently offline Florian Philipp
Messages: 43
Registered: February 2010
Member
Paul Webster wrote on Tue, 29 June 2010 08:04
Florian Philipp wrote:
>
> My problem is: As soon as I try to export it, the export wizard reports:
>

What are you exporting? A Deployable Plugin? A .product file? An RCP app?




A plugin based product, generating an RCP app.
Re: Export wizard missing bundle [message #543470 is a reply to message #543425] Tue, 29 June 2010 14:21 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Florian Philipp wrote:
>
> A plugin based product, generating an RCP app.

Does your product list the org.eclipse.equinox.http.jetty plugin and its
dependencies?

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Export wizard missing bundle [message #543486 is a reply to message #543470] Tue, 29 June 2010 14:46 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew Niefer
Messages: 990
Registered: July 2009
Senior Member
Are you using Helios?
Paul is correct that generally speaking you would need to include the plugin
in your .product file.

However, there were changes for helios
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=272061) that should let this
work even without adding the plugin to the product. (Though there are
still cases where it wouldn't work, eg:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=312140).

-Andrew

Paul Webster wrote:

> Florian Philipp wrote:
>>
>> A plugin based product, generating an RCP app.
>
> Does your product list the org.eclipse.equinox.http.jetty plugin and its
> dependencies?
>
> PW
>
Re: Export wizard missing bundle [message #543507 is a reply to message #543470] Tue, 29 June 2010 15:45 Go to previous messageGo to next message
Florian Philipp is currently offline Florian Philipp
Messages: 43
Registered: February 2010
Member
Paul Webster wrote on Tue, 29 June 2010 10:21
Florian Philipp wrote:
>
> A plugin based product, generating an RCP app.

Does your product list the org.eclipse.equinox.http.jetty plugin and its
dependencies?



Yes, it is listed there. It is a required dependency from one of my own plugins. If I mark it as optional there, the export works but I get a runtime ClassNotFoundException (just like expected).

Can someone tell me where the plugin is supposed to be located? Does it belong to the Eclipse Platform SDK?

I've searched my target platform for a file with '.jetty.' in the name and didn't find it. Yet, Eclipse clearly shows it as part of the Target Platform "content", even in two different versions (1.1.x and 2.0.x).
Re: Export wizard missing bundle [message #543911 is a reply to message #543507] Thu, 01 July 2010 05:22 Go to previous messageGo to next message
Florian Philipp is currently offline Florian Philipp
Messages: 43
Registered: February 2010
Member
[quote title=Florian Philipp wrote on Tue, 29 June 2010 11:45]
Paul Webster wrote on Tue, 29 June 2010 10:21
Florian Philipp wrote:
[...]
Can someone tell me where the plugin is supposed to be located? Does it belong to the Eclipse Platform SDK?

I've searched my target platform for a file with '.jetty.' in the name and didn't find it. Yet, Eclipse clearly shows it as part of the Target Platform "content", even in two different versions (1.1.x and 2.0.x).


Okay, I've found the bundle. It is right there in the target platform. The export wizard doesn't find it, though. I guess I could simply copy it over to my exported product but this doesn't sound like a solution - more like a workaround.

Can anyone tell me what exactly is wrong with the product export wizard? This isn't the first time something like this happened. I don't have the time to rebuild the target platform and the complete workspace every few days, hoping that the problem will disappear for a few days.
Re: Export wizard missing bundle [message #546289 is a reply to message #543911] Mon, 12 July 2010 11:54 Go to previous messageGo to next message
Florian Philipp is currently offline Florian Philipp
Messages: 43
Registered: February 2010
Member
Hmm, my unlogical problem seems to have an unlogical solution: I exported my target platform specification to a file (Window -> Preferences -> Plug-in Development -> Target Platform -> Share ...). That caused a refresh in the IDE which finally (at least for the moment) solved the problem.

I still have no clue what exactly is going on here. Especially, why am I the only one for which Eclipse RCP feels like an endless beta release. Crying or Very Sad
Re: Export wizard missing bundle [message #547195 is a reply to message #546289] Thu, 15 July 2010 22:01 Go to previous messageGo to next message
budili Missing name is currently offline budili Missing name
Messages: 64
Registered: May 2010
Member
You are not alone ! Confused Cool Laughing

I have these week an analog problem like yours.
I have configure my product configuration, which works always very fine. Last week we have add some functionalilty to the project and some new plugins. One of these was org.apache.commons.logging, but the plugin name is not important. I have customized the new dependencies in my product file and try to build btw. export the whole application.
But this fails every time, with the message
Quote:

The product ... could not find the plugin org.apache.commons.logging



I have looked in the directory of my target platform for this plugin,
and see there something curious. The plugin org.apache.commons.logging exist twice. The same plugin with the same version, but another build time. So, i have deleted one of them and reconfigure my product configuration and than works all stuff fine ...

[Updated on: Thu, 15 July 2010 22:02]

Report message to a moderator

Re: Export wizard missing bundle [message #547598 is a reply to message #547195] Mon, 19 July 2010 06:42 Go to previous messageGo to next message
Florian Philipp is currently offline Florian Philipp
Messages: 43
Registered: February 2010
Member
budili wrote on Thu, 15 July 2010 18:01
You are not alone ! Confused Cool Laughing

I have these week an analog problem like yours.
I have configure my product configuration, which works always very fine. Last week we have add some functionalilty to the project and some new plugins. One of these was org.apache.commons.logging, but the plugin name is not important. I have customized the new dependencies in my product file and try to build btw. export the whole application.
But this fails every time, with the message
Quote:

The product ... could not find the plugin org.apache.commons.logging



I have looked in the directory of my target platform for this plugin,
and see there something curious. The plugin org.apache.commons.logging exist twice. The same plugin with the same version, but another build time. So, i have deleted one of them and reconfigure my product configuration and than works all stuff fine ...


org.apache.commons.logging ... you cannot imagine how much trouble that bundle and the problem you describe caused me in my last project. Nice to know that there is a reasonable solution. I didn't find it back then and just re-created the product, my whole target platform and occasionally my whole workspace in order to have a working environment for a couple of days. However, back then I was using milestone builds and beta plugins which is why I did not pursue that issue.

Unfortunately, your approach does not work for me right now. There is no duplicate jetty bundle in my target platform. Sad

Thanks anyway.
Re: Export wizard missing bundle [message #826095 is a reply to message #547598] Wed, 21 March 2012 16:48 Go to previous message
Konrad Missing name is currently offline Konrad Missing name
Messages: 2
Registered: October 2011
Junior Member
Dear all,

I currently experience the same problems as Florian.

When trying to export my RCP product with the Product Export Wizard, the process quits with the error message

!ENTRY org.eclipse.pde.core 4 0 2012-03-21 17:22:34.189
!MESSAGE Cannot complete the install because one or more required items could not be found.
!SUBENTRY 1 org.eclipse.pde.core 4 0 2012-03-21 17:22:34.189
!MESSAGE Software being installed: XYZ 1.2.1.201203211721 (com.x.y.z 1.2.1.201203211721)
!SUBENTRY 1 org.eclipse.pde.core 4 0 2012-03-21 17:22:34.189
!MESSAGE Missing requirement: Application 1.2.1.201203211721 (com.x.y.z.feature.group 1.2.1.201203211721) requires 'org.eclipse.ui.intro 3.4.100' but it could not be found
!SUBENTRY 1 org.eclipse.pde.core 4 0 2012-03-21 17:22:34.189
!MESSAGE Cannot satisfy dependency:


What is totally confusing is that the export works on the desktop of my colleagues!

The missing plugin org.eclipse.ui.intro is present in version 3.4.100. I do not understand why it is reported as missing.

There is no duplicate of this plugin, as reported as a possible cause of this problem by budili.

@Florian: How did you manage to "refresh your IDE" by sharing the target platform? I directly use Eclipse's p2 repo as target platform, plus a company-based shared directory:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.6"?>

<target name="rmqc" sequenceNumber="40">
<locations>
<location includeAllPlatforms="false" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="epp.package.rcp" version="1.4.1.20110909-1818"/>
<repository location="http:/download.eclipse.org/releases/indigo"/>
</location>
<location path="\\share\folder1\folder1a\xyz.target" type="Directory"/>
</locations>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
</target>


The Share... button is disabled in the case of this target platform, possibly becuase it is not a local copy. So this option is not available in my case.

I would be very thankful about hints on this issue, especially when anyone has found the cause, and possibly did not report it in this thread.

Cheers,
Konrad
Previous Topic:wrong handler for keybinding Ctrl+V when using multiple TextEditors
Next Topic:P2 tries to update to an older version => FAILS
Goto Forum:
  


Current Time: Wed Oct 22 13:53:20 GMT 2014

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

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