Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333747 - Order of precedence for properties is incorrect. Command line should override
Summary: Order of precedence for properties is incorrect. Command line should override
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Buckminster (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: buckminster.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 333743 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-07 09:16 EST by Matthew Webber CLA
Modified: 2019-02-25 14:39 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Webber CLA 2011-01-07 09:16:46 EST
Build Identifier: BuckyBook v0.8

In BuckyBook v0.8:

* table 10.1 on page 113 Materialization property value precedence
This table is incorrect. The command line should override every other setting. My guess is that items 6-11 in the table should be moved to the top, and then the new 1 & 2 (6 and 7 in the existing table) should be swapped.

* table 10.2 on page 114 Action invocation property value precedence
This table is incorrect. The command line should override every other setting. 1 & 2 should be swapped.

Note that items 6-11 in table 10.1 are the same as table 10.2 (with the same error).

The order in these tables should be reviewed by someone who knows what they should be, since the existing tables are clearly wrong.

Reproducible: Always
Comment 1 Henrik Lindberg CLA 2011-03-05 13:47:29 EST
Need input from Thomas to ensure that the information is correct.
Comment 2 Thomas Hallgren CLA 2011-03-06 04:56:36 EST
The tables on page 113 and 114 are correct with one minor adjustment. The properties passed on the command line, whether it's a single property -Dxxx=yyy or a property file -P<filename> will be added (and override) in the order they are declared. So the last entry wins.

It is common to let command line declarations override and I think the fact that they don't should be considered a bug so I'm moving this bugzilla. We can create a documentation clone of it once the bug is fixed.
Comment 3 Thomas Hallgren CLA 2011-03-31 11:42:42 EDT
*** Bug 333743 has been marked as a duplicate of this bug. ***