Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Sennikovsky2007-06-22 14:58:25 -0400
committerMikhail Sennikovsky2007-06-22 14:58:25 -0400
commit103eaadb1c2b17b077b48f5ac7df3c24bcfa7312 (patch)
tree2f68ebcfbfcfce55188e2303b69f5df3032f5c5f
parent4f8a7032f8d027b6c2d72c2bcdb3456519d901e9 (diff)
downloadorg.eclipse.cdt-103eaadb1c2b17b077b48f5ac7df3c24bcfa7312.tar.gz
org.eclipse.cdt-103eaadb1c2b17b077b48f5ac7df3c24bcfa7312.tar.xz
org.eclipse.cdt-103eaadb1c2b17b077b48f5ac7df3c24bcfa7312.zip
Schema and documentation updates
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/schema/buildDefinitions.exsd103
-rw-r--r--doc/org.eclipse.cdt.doc.isv/guide/cdt_build_system/whats_new/4.0/whats_new_CBS_40.html156
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 ef42872bac..e60e68fb65 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
<element ref="toolChain" minOccurs="0" maxOccurs="1"/>
<element ref="resourceConfiguration" minOccurs="0" maxOccurs="unbounded"/>
<element ref="enablement" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="folderInfo" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="fileInfo" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>
@@ -910,9 +912,23 @@ The pathConverter of a toolchain applies for all tools of the toolchain except i
<annotation>
<documentation>
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
</documentation>
</annotation>
</attribute>
+ <attribute name="languageInfoCalculator" type="string">
+ <annotation>
+ <documentation>
+ 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.
+
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn=":org.eclipse.cdt.managedbuilder.core.ILanguageInfoCalculator"/>
+ </appInfo>
+ </annotation>
+ </attribute>
</complexType>
</element>
@@ -2222,6 +2238,93 @@ The way the value is specified and treated depends on the value of the isRegex a
</complexType>
</element>
+ <element name="folderInfo">
+ <annotation>
+ <documentation>
+ Represents per-folder settings.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="toolChain"/>
+ </sequence>
+ <attribute name="resourcePath" type="string" use="required">
+ <annotation>
+ <documentation>
+ Project-relative resource path
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="exclude" type="boolean">
+ <annotation>
+ <documentation>
+ 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.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="fileInfo">
+ <annotation>
+ <documentation>
+ 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.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="resourcePath" type="string">
+ <annotation>
+ <documentation>
+ Project-relative resource path
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="exclude" type="boolean">
+ <annotation>
+ <documentation>
+ 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.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="rcbsApplicability">
+ <annotation>
+ <documentation>
+ 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&apos;t apply) the rcbs tool.
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="before">
+ </enumeration>
+ <enumeration value="after">
+ </enumeration>
+ <enumeration value="override">
+ </enumeration>
+ <enumeration value="disable">
+ </enumeration>
+ </restriction>
+ </simpleType>
+ </attribute>
+ <attribute name="toolsToInvoke" type="string">
+ <annotation>
+ <documentation>
+ 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.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
<annotation>
<appInfo>
<meta.section type="since"/>
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 4fae6c545d..7f42a3a1da 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</span></p>
extensionAdjustment=</span><span lang="EN-US" style="font-size: 10.0pt; font-family: Courier New; color: green">&quot;false&quot;</span><span lang="EN-US" style="font-size: 10.0pt; font-family: Courier New; color: navy">&gt;</span><span lang="EN-US" style="font-size: 10.0pt; font-family: Courier New; color: black">
&lt;- specifying that enablement is applicable for non-extension (project) elements</span></p>
<p class="MsoNormal" style="text-autospace: none; margin-top: 0; margin-bottom: 0">
-<span lang="EN-US" style="font-size: 10.0pt; font-family: Courier New; color: black">
-&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; </span>
+<span lang="EN-US" style="font-size: 10.0pt; font-family: Courier New; color: black">&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; </span>
<span lang="EN-US" style="font-size: 10.0pt; font-family: Courier New; color: navy">
&lt;checkBuildProperty</span><span lang="EN-US" style="font-size: 10.0pt; font-family: Courier New; color: black">
&lt;- evaluates the build property value. treated as true if the property value
@@ -1167,6 +1166,157 @@ superClass=</span><span lang="EN-US" style="font-size: 10.0pt; font-family: Cour
<span style="font-size:10.0pt;
font-family:&quot;Courier New&quot;;color:navy">&nbsp;&lt;/toolChain&gt;</span></p>
<p style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
-<p style="margin-top: 0; margin-bottom: 0">&nbsp;&nbsp; </p>
+<p style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
+<p class="subsection"><a name="_TocSectionUIModel_11">2.11 Model changes</a></p>
+<p class="subsection"><a name="_TocSectionUIModel_11_4">2.11.1 folderInfo</a></p>
+The folderInfo is a new element presented in 4.0. The element represents the
+per-folder settings<table border="1" width="688" height="58" id="table21">
+ <tr>
+ <td height="30" width="271" align="center"><b>Property</b></td>
+ <td height="30" width="235" align="center"><b>Description</b></td>
+ <td height="30" width="160" align="center"><b>Default Value</b></td>
+ </tr>
+ <tr>
+ <td height="20" width="271">resourcePath</td>
+ <td height="20" width="235">Project-relative resource path</td>
+ <td height="20" width="160">
+ <p align="center">value is required</td>
+ </tr>
+ <tr>
+ <td height="20" width="271">exclude</td>
+ <td height="20" width="235">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. </td>
+ <td height="20" width="160">
+ <p align="center">false</td>
+ </tr>
+</table>
+<p class="subsection"><a name="_TocSectionUIModel_11_5">2.11.2 fileInfo</a></p>
+The fildeInfo is a new element presented in 4.0. The element represents the
+per-file settings.<p class="ConfigMarkup" id="elementDesc">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.</p>
+<table border="1" width="688" height="58" id="table22">
+ <tr>
+ <td height="30" width="271" align="center"><b>Property</b></td>
+ <td height="30" width="235" align="center"><b>Description</b></td>
+ <td height="30" width="160" align="center"><b>Default Value</b></td>
+ </tr>
+ <tr>
+ <td height="20" width="271">resourcePath</td>
+ <td height="20" width="235">Project-relative resource path</td>
+ <td height="20" width="160">
+ <p align="center">value is required</td>
+ </tr>
+ <tr>
+ <td height="20" width="271">exclude</td>
+ <td height="20" width="235">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. </td>
+ <td height="20" width="160">
+ <p align="center">false</td>
+ </tr>
+ <tr>
+ <td height="20" width="271">rcbsApplicability </td>
+ <td height="20" width="235">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. </td>
+ <td height="20" width="160">
+ <p align="center">disable</td>
+ </tr>
+ <tr>
+ <td height="20" width="271">toolsToInvoke</td>
+ <td height="20" width="235">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.</td>
+ <td height="20" width="160">
+ <p align="center">all tools in the order found</td>
+ </tr>
+</table>
+<p class="subsection">&nbsp;</p>
+<p class="subsection"><a name="_TocSectionUIModel_11_1">2.11.1 toolChain</a></p>
+ Note:
+
+the default value is used ONLY in case the property is undefined for all
+tool-chain's super-classes<table border="1" width="688" height="58">
+ <tr>
+ <td height="30" width="271" align="center"><b>Property</b></td>
+ <td height="30" width="235" align="center"><b>Description</b></td>
+ <td height="30" width="160" align="center"><b>Default Value</b></td>
+ </tr>
+ <tr>
+ <td height="20" width="271">supportsManagedBuild</td>
+ <td height="20" width="235">specifies whether the managed build is
+ supported by the tool-chain</td>
+ <td height="20" width="160">
+ <p align="center">true</td>
+ </tr>
+</table>
+<p class="subsection"><a name="_TocSectionUIModel_11_2">2.11.2 tool</a></p>Note:
+
+the default value is used ONLY in case the property is undefined for all tool's
+super-classes<table border="1" width="688" height="58" id="table19">
+ <tr>
+ <td height="30" width="271" align="center"><b>Property</b></td>
+ <td height="30" width="235" align="center"><b>Description</b></td>
+ <td height="30" width="160" align="center"><b>Default Value</b></td>
+ </tr>
+ <tr>
+ <td height="20" width="271">supportsManagedBuild</td>
+ <td height="20" width="235">specifies whether the managed build is
+ supported by the tool</td>
+ <td height="20" width="160">
+ <p align="center">true</td>
+ </tr>
+</table>
+<p class="subsection"><a name="_TocSectionUIModel_11_3">2.11.2 inputType</a></p>Note:
+
+the default value is used ONLY in case the property is undefined for all input
+types's super-classes<table border="1" width="688" height="58" id="table20">
+ <tr>
+ <td height="30" width="271" align="center"><b>Property</b></td>
+ <td height="30" width="235" align="center"><b>Description</b></td>
+ <td height="30" width="160" align="center"><b>Default Value</b></td>
+ </tr>
+ <tr>
+ <td height="20" width="271">languageId</td>
+ <td height="20" width="235">the id of the org.eclipse.cdt.core.language
+ extension point specifying the language for resources represented with
+ the input type<p>The value of this attribute is used only in case
+ languageInfoCalculator is not specified</td>
+ <td height="20" width="160">
+ <p align="center">none</td>
+ </tr>
+ <tr>
+ <td height="20" width="271">languageInfoCalculator</td>
+ <td height="20" width="235">Specifies the name of the class that
+ implements org.eclipse.cdt.managedbuilder.core.ILanguageInfoCalculator
+ for dinamic providing the language id info.<br>
+ Overrides language id specified with the languageId attribute.</td>
+ <td height="20" width="160" align="center">
+ none</td>
+ </tr>
+ <tr>
+ <td height="20" width="271">scannerConfigDiscoveryProfileId</td>
+ <td height="20" width="235">Specifies an id of scanner configuration
+ discovery profile for gathering the built-in compiler settings for
+ resource type presented with this input type.</td>
+ <td height="20" width="160" align="center">
+ the value of the scannerConfigDiscoveryProfileId defined for the
+ tool-chain</td>
+ </tr>
+</table>
+<p>&nbsp;</p>
+<p>&nbsp;</p>
+<p>&nbsp;</p>
</body>
</html> \ No newline at end of file

Back to the top