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

Bug 277514

Summary: product qualifier substitution broken for p2.generate.metadata
Product: [Eclipse Project] PDE Reporter: Andrew Niefer <aniefer>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: spektom
Version: 3.5   
Target Milestone: 3.6 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Andrew Niefer CLA 2009-05-22 14:15:55 EDT
When using p2.generate.metadata, the qualifier substitution on .product files is broken.

The problem is we substitute the qualifier at the end just before publishing the final product metadata.  However, there are points during the build when we publish metadata for the rootfiles (particularly the eclipse.ini), and these require the correct version.  Currently the product.ini metadata gets .qualifier and the final product IU requires those same IUs using the full version.  This results in unsatisfiable metadata.


Qualifier substitution works properly for publisher based builds using p2.gathering=true.
Comment 1 Andrew Niefer CLA 2009-05-22 14:16:32 EDT
Note that 3.4 did not support qualifier substitution in product files and this was done manually using the ant replace task.
Comment 2 Andrew Niefer CLA 2009-06-22 17:16:23 EDT
done in head, see bug 281150 for 3.5.1