From 9644f4a11ebeda6f1089de1cebe2ef12aac80e74 Mon Sep 17 00:00:00 2001 From: Andrew Ferguson Date: Tue, 18 Sep 2007 09:02:04 +0000 Subject: [PATCH] 203553: Merge contributions from Beth Tibbitts --- .../schema/templates.exsd | 26 ++++++++++++++----- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/core/org.eclipse.cdt.core/schema/templates.exsd b/core/org.eclipse.cdt.core/schema/templates.exsd index 8bb637eece8..e5965ee056b 100644 --- a/core/org.eclipse.cdt.core/schema/templates.exsd +++ b/core/org.eclipse.cdt.core/schema/templates.exsd @@ -13,7 +13,8 @@ - Extension point added to Template Engine plugin. Any plugin, which intends to contribute XML templates to Template Engine has to extend this extension point, and add template element. + Extension point added to Template Engine plugin. Any plugin, which intends to contribute XML templates to the Template Engine must extend this extension point, and add the template element. + @@ -50,7 +51,7 @@ - By adding the templates extension point the users can contribute there Template XMLs to the Template Engine plugin. + By adding the templates extension point the users can contribute their Template XMLs to the Template Engine plugin. @@ -67,7 +68,7 @@ - The path of template.xml (relative to the base of the containing plug-in). For example "templates/TemplateOne/template.xml". This attribute is mandatory. + The path of template.xml (relative to the base of the containing plug-in). For example "templates/TemplateOne/template.xml". This attribute is mandatory. @@ -77,7 +78,14 @@ - This id refers to the cdt project type that the template will be associated with. Project types are contributed to the org.eclipse.cdt.managedbuilder.core.buildDefinitions extension-point. See the CDT Build System documentation in the developer guide for built-in project type ids. + This attribute is a project type id referring to the cdt project type that the template will be associated with. Project types are contributed to the org.eclipse.cdt.managedbuilder.core.buildDefinitions extension-point. +This attribute is mandatory. CDT pre-defines the following values of the build artifact type property: +<ul> +<li>"org.eclipse.cdt.build.core.buildArtefactType.exe" - to represent executable +<li>"org.eclipse.cdt.build.core.buildArtefactType.staticLib" - to represent static library +<li>"org.eclipse.cdt.build.core.buildArtefactType.sharedLib" - to represent shared library +<li>ISVs can define their own custom build artifact values by contributing to the org.eclipse.cdt.managedbuilder.core.buildProperties extension point. +</ul> @@ -109,11 +117,16 @@ + + + This element is used to reference an existing toolchain by its unique identifier. + + - + The unique identifier of a toolchain contributed to the org.eclipse.cdt.managedbuilder.core.buildDefinitions extension point. @@ -147,8 +160,7 @@ </extension> </pre> -For more details on how to define your own templates, please check examples provided under -<samp>org.eclipse.cdt.templates</samp> +For more details on how to define your own templates, please check examples provided under <samp>org.eclipse.cdt.ui.templateengine</samp>