Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 272945

Summary: [publisher] Product export does not create bundles.info
Product: [Eclipse Project] Equinox Reporter: Dennis O'Flynn <dennis.oflynn>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: contact, irbull, jeffmcaffer, pascal, tjwatson
Version: unspecified   
Target Milestone: 3.5   
Hardware: All   
OS: All   
Whiteboard:

Description Dennis O'Flynn CLA 2009-04-20 14:11:21 EDT
Product definitions based upon plug-in configuration does not create bundles.info.  However, product definitions based upon feature configurations does.

I created a simple product definition based upon plug-in configuration.  The org.eclipse.equinox.simpleconfigurator bunlde was included in this configuration.  When the product was exported, it failed to create the bundles.info file.  Only the config.ini file was created.

I re-defined the product definition to be based upon feature configuration.  The feature was defined to include the same plug-ins defined in the plug-in configuration.  When the product was exported, the bundles.info was properly defined and referenced within the config.ini file.
Comment 1 Jeff McAffer CLA 2009-04-20 15:56:09 EDT
this feels like a friend of the inconsistency discussed in bug 272488.  The behaviour here should be consistent.

For now, try marking simple.configurator as started (say at level 2) in the plugin-based product and see if exporting that works.  I have done this with the mail example and it worked.
Comment 2 Pascal Rapicault CLA 2009-04-26 21:35:30 EDT
*** Bug 272488 has been marked as a duplicate of this bug. ***
Comment 3 Pascal Rapicault CLA 2009-04-26 21:39:45 EDT
I have done further testing on this with the code from HEAD.
- If I don't specify any start level in the product configuration tab, and have simpleconfigurator listed among the plug-ins, then the resulting product has a bundles.info
- If I use the feature mode, things are fine here too.
- If I specify any start level, then I have problems (see bug #273747)

Right now I'm closing as a dup of this last bug.

*** This bug has been marked as a duplicate of bug 273747 ***