Bug 259804 - setOption very lenient
Summary: setOption very lenient
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: 5.0.1   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-30 15:27 EST by Miwako Tokugawa CLA
Modified: 2020-09-04 15:18 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miwako Tokugawa CLA 2008-12-30 15:27:40 EST
Suppose you have an option that is enabled for a particular tool version.

<option
                        id="option_for_tool_version_X"
                        (other attributes here)>
 <enablement type="ALL">^M
                        <and>
                        <checkString string="${ToolVersion}" value="X"/>
                        </and>
                        </enablement>

A call to setOption with (/*tool*/Y, (extention element for the option), val); where X!=Y, is still successful.
Is this by design? If not, please change.