| Summary: | [installer] Wrong config.ini for installer on Linux | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | John Arthorne <john.arthorne> | ||||
| Component: | Build | Assignee: | pde-build-inbox <pde-build-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | aniefer, kim.moir, pascal | ||||
| Version: | 3.4 | ||||||
| Target Milestone: | 3.6 M6 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
John Arthorne
The current .product build is not designed for platform specific config.ini files. We have a couple of options 1) List all the swt fragments in the config.ini file, I believe this will work, but will result in error messages to the log for each fragment not found. 2) provide N copies of the config.ini file, one per platform, and change the build script to get the correct one. (Could perhaps be done by having a feature.build.properties containing root properties and that is specified to the generated feature.) 3) Use a token in the config.ini file that gets replaced by the build script. See attached patch for an example of this. Created attachment 89299 [details]
patch for option 3
untested patch implementing option 3
The other option is that the installer is created by a p2 director operation. p2 would know what bundles to include based on platform filters on the profile. Pascal, is it feasible to do this in 1.0? The installer has no configurator - it just lists all bundles in config.ini. See bug 218878 and bug 218623. The possibility exists to generate a product IU for the p2 installer based on the product file. As long as the product IU does not brings in simpleconfigurator, simple configurator will not be included and the proper config.ini will be created (at least this is one of the promise of fwk admin) Andrew if you need a real life example, you may want to use the installer as a test application. The installer is using a product file without a custom config.ini. PDE/Build is creating a product with a bundles.info that contains all the bundles. I think this is now a PDE/Build bug, we should be creating bundles.info files containing only the bundles that match the platform. PDE/Build is fixed for M6. The installer will be fine whenever releng updates the basebuilder. |