Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 244870 - Generated source feature inherits wrong platform filter
Summary: Generated source feature inherits wrong platform filter
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.5 M2   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-21 15:35 EDT by Peter Nehrer CLA
Modified: 2008-08-28 16:37 EDT (History)
1 user (show)

See Also:


Attachments
Proposed patch. (1.07 KB, patch)
2008-08-21 15:41 EDT, Peter Nehrer CLA
aniefer: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Nehrer CLA 2008-08-21 15:35:10 EDT
When a source feature is generated based on a feature with a platform filter (e.g., ws="win32"), the generated source feature's platform filter is incorrect (e.g., ws="win32" arch="win32").
Comment 1 Peter Nehrer CLA 2008-08-21 15:41:24 EDT
Created attachment 110615 [details]
Proposed patch.

This patch simply fixes a "typo" when setting the new feature's filter:

result.setEnvironment(featureExample.getOS(), featureExample.getWS(), featureExample.getOS(), null)

Note the second getOS() should be a getArch().
Comment 2 Andrew Niefer CLA 2008-08-28 16:37:44 EDT
thanks