From 103eaadb1c2b17b077b48f5ac7df3c24bcfa7312 Mon Sep 17 00:00:00 2001
From: Mikhail Sennikovsky
Date: Fri, 22 Jun 2007 18:58:25 +0000
Subject: [PATCH] Schema and documentation updates
---
.../schema/buildDefinitions.exsd | 103 ++++++++++++
.../whats_new/4.0/whats_new_CBS_40.html | 156 +++++++++++++++++-
2 files changed, 256 insertions(+), 3 deletions(-)
diff --git a/build/org.eclipse.cdt.managedbuilder.core/schema/buildDefinitions.exsd b/build/org.eclipse.cdt.managedbuilder.core/schema/buildDefinitions.exsd
index ef42872bac0..e60e68fb651 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/schema/buildDefinitions.exsd
+++ b/build/org.eclipse.cdt.managedbuilder.core/schema/buildDefinitions.exsd
@@ -207,6 +207,8 @@ Specifying this attribute is fully equivalent to specifying the "org.eclips
+
+
@@ -910,9 +912,23 @@ The pathConverter of a toolchain applies for all tools of the toolchain except i
Represents the language id, i.e. the id of language defined via the org.eclipse.cdt.core.language extension point
+
+The value of this attribute is used only in case languageInfoCalculator is not specified
+
+
+
+ Specifies the name of the class that implements org.eclipse.cdt.managedbuilder.core.ILanguageInfoCalculator for dinamic providing the language id info.
+Overrides language id specified with the languageId attribute.
+
+
+
+
+
+
+
@@ -2222,6 +2238,93 @@ The way the value is specified and treated depends on the value of the isRegex a
+
+
+
+ Represents per-folder settings.
+
+
+
+
+
+
+
+
+
+ Project-relative resource path
+
+
+
+
+
+
+ Specifies whether the resource is excluded from building in the parent configuration. The default is false. The resourceConfiguration element retains its tool children, if any exist, even when excluded from the build.
+
+
+
+
+
+
+
+
+
+ Represents per-file settings.
+This element has the same meaning as resourceConfiguration.
+It is added for consistency with the folderInfo element.
+The only difference between this element and the resourceConfiguration is that resourceConfiguration specifies the resource full path, while the fileInfo specifies project-relative resource path in the same way as the folderInfo does.
+
+
+
+
+
+
+ Project-relative resource path
+
+
+
+
+
+
+ Specifies whether the resource is excluded from building in the parent configuration. The default is false. The resourceConfiguration element retains its tool children, if any exist, even when excluded from the build.
+
+
+
+
+
+
+ Identifies how the user desires to apply a resource custom build step:
+ 1. Apply rcbs tool before any other tools defined for the resource.
+ 2. Apply rcbs tool after any other tools defined for the resource.
+ 3. Apply rcbs tool overriding any other tools defined for the resource.
+ 4. Disable (don't apply) the rcbs tool.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Identifies which tools to invoke by a semicolon separated list of child tool ids. Applies as follows:
+ 1. Defaults to all tools in the order found
+ 2. Use specified ordered list of children to invoke
+ 3. If empty string, treat as if no resource configuration existed, i.e., use project level tool.
+
+
+
+
+
+
diff --git a/doc/org.eclipse.cdt.doc.isv/guide/cdt_build_system/whats_new/4.0/whats_new_CBS_40.html b/doc/org.eclipse.cdt.doc.isv/guide/cdt_build_system/whats_new/4.0/whats_new_CBS_40.html
index 4fae6c545d5..7f42a3a1da4 100644
--- a/doc/org.eclipse.cdt.doc.isv/guide/cdt_build_system/whats_new/4.0/whats_new_CBS_40.html
+++ b/doc/org.eclipse.cdt.doc.isv/guide/cdt_build_system/whats_new/4.0/whats_new_CBS_40.html
@@ -909,8 +909,7 @@ expression is true
extensionAdjustment="false">
<- specifying that enablement is applicable for non-extension (project) elements
-
-
+
<checkBuildProperty
<- evaluates the build property value. treated as true if the property value
@@ -1167,6 +1166,157 @@ superClass= </toolChain>
-
+
+2.11 Model changes
+2.11.1 folderInfo
+The folderInfo is a new element presented in 4.0. The element represents the
+per-folder settings
+
+ Property |
+ Description |
+ Default Value |
+
+
+ resourcePath |
+ Project-relative resource path |
+
+ value is required |
+
+
+ exclude |
+ Specifies whether the resource is excluded
+ from building in the parent configuration. The default is false. The
+ resourceConfiguration element retains its tool children, if any exist,
+ even when excluded from the build. |
+
+ false |
+
+
+2.11.2 fileInfo
+The fildeInfo is a new element presented in 4.0. The element represents the
+per-file settings.This element has the
+same meaning as the resourceConfiguration element. It is added for consistency
+with the folderInfo element. The only difference between this element and the
+resourceConfiguration is that resourceConfiguration specifies the resource full
+path, while the fileInfo specifies project-relative resource path in the same
+way as the folderInfo does.
+
+
+ Property |
+ Description |
+ Default Value |
+
+
+ resourcePath |
+ Project-relative resource path |
+
+ value is required |
+
+
+ exclude |
+ Specifies whether the resource is excluded
+ from building in the parent configuration. The default is false. The
+ resourceConfiguration element retains its tool children, if any exist,
+ even when excluded from the build. |
+
+ false |
+
+
+ rcbsApplicability |
+ Identifies how the user desires to apply a
+ resource custom build step: 1. Apply rcbs tool before any other tools
+ defined for the resource. 2. Apply rcbs tool after any other tools
+ defined for the resource. 3. Apply rcbs tool overriding any other tools
+ defined for the resource. 4. Disable (don't apply) the rcbs tool. |
+
+ disable |
+
+
+ toolsToInvoke |
+ Identifies which tools to invoke by a
+ semicolon separated list of child tool ids. Applies as follows: 1.
+ Defaults to all tools in the order found 2. Use specified ordered list
+ of children to invoke 3. If empty string, treat as if no resource
+ configuration existed, i.e., use project level tool. |
+
+ all tools in the order found |
+
+
+
+2.11.1 toolChain
+ Note:
+
+the default value is used ONLY in case the property is undefined for all
+tool-chain's super-classes
+
+ Property |
+ Description |
+ Default Value |
+
+
+ supportsManagedBuild |
+ specifies whether the managed build is
+ supported by the tool-chain |
+
+ true |
+
+
+2.11.2 tool
Note:
+
+the default value is used ONLY in case the property is undefined for all tool's
+super-classes
+
+ Property |
+ Description |
+ Default Value |
+
+
+ supportsManagedBuild |
+ specifies whether the managed build is
+ supported by the tool |
+
+ true |
+
+
+2.11.2 inputType
Note:
+
+the default value is used ONLY in case the property is undefined for all input
+types's super-classes
+
+ Property |
+ Description |
+ Default Value |
+
+
+ languageId |
+ the id of the org.eclipse.cdt.core.language
+ extension point specifying the language for resources represented with
+ the input type The value of this attribute is used only in case
+ languageInfoCalculator is not specified |
+
+ none |
+
+
+ languageInfoCalculator |
+ Specifies the name of the class that
+ implements org.eclipse.cdt.managedbuilder.core.ILanguageInfoCalculator
+ for dinamic providing the language id info.
+ Overrides language id specified with the languageId attribute. |
+
+ none |
+
+
+ scannerConfigDiscoveryProfileId |
+ Specifies an id of scanner configuration
+ discovery profile for gathering the built-in compiler settings for
+ resource type presented with this input type. |
+
+ the value of the scannerConfigDiscoveryProfileId defined for the
+ tool-chain |
+
+
+
+
+