Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329616 - bundles.info not generated when custom config.ini specified in .product file
Summary: bundles.info not generated when custom config.ini specified in .product file
Status: RESOLVED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 4.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-06 14:01 EDT by Ryan Dunn CLA
Modified: 2018-12-03 09:04 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Dunn CLA 2010-11-06 14:01:25 EDT
Build Identifier: 20100218-1602

The required bundles.info file is not generated when you specify a custom config.ini file.  If you have the product export wizard generate the config.ini, then bundles.info is generated.

It looks like in ProductGenertor.generate() if you have specified a custom config.ini, then createConfigIni() is not called, and it's in createConfigIni() that printSimpleBundles() is called that generates the bundles.info

I'm able to work around this on my headless build by specifying in the .product to generate a config.ini and copy over the one I need in my product as a post build step.  However, an export from the GUI is a bit more cumbersome as this is a manual step that must be done each time. 

Reproducible: Always

Steps to Reproduce:
1. Create a product config that uses a custom config.ini
2. Use the Export Product Wizard to export the product (I don't use generate metadata repository)
3. See that the required bundles.info is not created
Comment 1 David Pickens CLA 2011-02-03 12:58:52 EST
Can someone please make sure this problem is fixed in 3.7? The fix looks straight-forward.
Comment 2 Lutz Moehrmann CLA 2015-08-16 06:10:56 EDT
@David:
Obviously, that didn't happen (i just tried with 3.7.2 Build id: M20120208-0800). You probably should have provided a patch...
Comment 3 Lars Vogel CLA 2018-12-03 09:04:59 EST
Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. 

Please reopen, if you plan to provide a fix.