Added tests to verify that the tool command canbe set through the
IConfiguration interface in the testConfigurations() method, and
through a ToolReference in the checkSubSubTarget() method.
In the property page, there is now logic for remembering what tool has been selected as well as what option. The property page now creates preference pages for tools and options.
Updated the settings store to add tools as well as options.
Tweaked the logic of the tool/option list provider for the property page slightly to handle the case where the selection is a tool and not simply an option.
on feature C14 lead to the discoveryof a cut-&-paste error in the plugin
manifest. The miscellaneous category in the cygwin C++ compiler spec
referred to the C++ compiler in Linux as the parent. Fixed this.
reference.
Changed the schema to allow a tool reference to belong to a target.
* schema/ManagedBuildTools.exsd
Changed the manifest logic in the managed build manager to load and
retrieve tool definitions as well as target definitions. The schema
allowed for this, but the logic was missing.
* src/org/eclipse/cdt/managedbuilder/core/ManagedBuildManager.java
Made some bookeeping additions to the target so that it can store references
to tools. First, the target loads any tool references it has. Then it loads
tools and configurations. The target also has to consider the presence of tool
references when it determines how many tools it has, so the logic that counted
and returned the number of tools in the target was updated. Some key changes in
this regard relate to how the target looks up the tool references it has. It
now has to ask the managed build info if it has a tool definition for the reference
if there are no tools defined for the target level for a given reference.
* src/org/eclipse/cdt/managedbuilder/internal/core/Target.java
Tool references now have the potential to be owned by either a target or a
configuration. Changed the owner to the superclass of both and figure out
which the parent is at runtime to perform the proper registration and information
look-up. Also removed the reference to a target from a tool and the interface to
extract the target from ITool.
* src/org/eclipse/cdt/managedbuilder/core/ITool.java
* src/org/eclipse/cdt/managedbuilder/internal/core/Tool.java
* src/org/eclipse/cdt/managedbuilder/internal/core/ToolReference.java
An unrelated bug had to do with a problem my testing uncovered with nested
categories. The manifest reader was looking at the wrong field to determine
the parent, but for the manifests we have created, this has not proven to be
a problem so far.
* src/org/eclipse/cdt/managedbuilder/core/IOptionCategory.java
* src/org/eclipse/cdt/managedbuilder/core/IOptionCategory.java
Updated Scanner to allow for invalid identifier names despite C++'s best efforts at maintaining its honour.
org.eclipse.cdt.core.tests
Added ScannerTestCase::testGerman().