Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 281150 - product qualifier substitution broken for p2.generate.metadata
Summary: product qualifier substitution broken for p2.generate.metadata
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5.1   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-22 17:05 EDT by Andrew Niefer CLA
Modified: 2009-07-09 16:55 EDT (History)
3 users (show)

See Also:
dj.houghton: review+


Attachments
patch (14.03 KB, patch)
2009-06-22 17:17 EDT, Andrew Niefer CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Niefer CLA 2009-06-22 17:05:57 EDT
+++ This bug was initially created as a clone of Bug #277514 +++

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-06-22 17:17:32 EDT
Created attachment 139811 [details]
patch

Patch that was released to head
Comment 2 Andrew Niefer CLA 2009-07-09 16:55:56 EDT
done