Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Applied Patch - cdt.core - New Build Goodies from Sam

Here's is Sam's source integrated into the cdt.core and cdt.ui plugins.
You'll find the source in the build source folders.  There are also
extension point schemas, icons, and extension points and extensions added to
the plugin.xml files.

A quick regression showed things functioned as before.  Let us know if you
find anything abnormal happening.

Index: .classpath
===================================================================
RCS file: /home/tools/org.eclipse.cdt.core/.classpath,v
retrieving revision 1.5
diff -u -r1.5 .classpath
--- .classpath	17 Sep 2002 18:53:40 -0000	1.5
+++ .classpath	17 Feb 2003 19:09:15 -0000
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
-    <classpathentry kind="src" path="builder/"/>
     <classpathentry kind="src" path="index/"/>
     <classpathentry kind="src" path="model/"/>
     <classpathentry kind="src" path="src/"/>
     <classpathentry kind="src" path="utils/"/>
+    <classpathentry kind="src" path="build"/>
     <classpathentry kind="src" path="/org.eclipse.core.resources"/>
     <classpathentry kind="src" path="/org.eclipse.core.runtime"/>
     <classpathentry kind="src" path="/org.apache.xerces"/>
@@ -12,6 +12,6 @@
     <classpathentry kind="src" path="/org.eclipse.compare"/>
     <classpathentry kind="src" path="/org.eclipse.debug.core"/>
     <classpathentry kind="src" path="/org.eclipse.core.boot"/>
-    <classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT"
sourcepath="JRE_SRC"/>
+    <classpathentry kind="var" path="JRE_LIB" sourcepath="JRE_SRC"/>
     <classpathentry kind="output" path="bin"/>
 </classpath>
Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.core/ChangeLog,v
retrieving revision 1.63
diff -u -r1.63 ChangeLog
--- ChangeLog	14 Feb 2003 01:16:57 -0000	1.63
+++ ChangeLog	17 Feb 2003 19:09:15 -0000
@@ -1,3 +1,10 @@
+2003-02-17 Doug Schaefer
+
+    Merged in Sam Robb's source for the build model.  The source can be
+    found in the build source folder.  There are new extension point schema
+    in the schema folder.  As well a number of extension points and
extensions
+    have been added to the plugin.xml file.
+    
 2003-02-13 Alain Magloire
 
 	* src/org/eclipse/cdt/core/CCorePlugin.java:
Index: plugin.xml
===================================================================
RCS file: /home/tools/org.eclipse.cdt.core/plugin.xml,v
retrieving revision 1.17
diff -u -r1.17 plugin.xml
--- plugin.xml	16 Dec 2002 20:43:18 -0000	1.17
+++ plugin.xml	17 Feb 2003 19:09:16 -0000
@@ -31,6 +31,52 @@
    <extension-point id="ProcessList" name="%ProcessList.name"
schema="schema/ProcessList.exsd"/>
    <extension-point id="BinaryParser" name="BinaryParser"/>
 
+   <extension-point id="CToolchain" name="C/C++ Toolchain Provider"
schema="schema/CToolchain.exsd"/>
+   <extension-point id="CBuildConfiguration" name="C/C++ Build
Configuration" schema="schema/CBuildConfiguration.exsd"/>
+   <extension-point id="CTool" name="C/C++ Tool"
schema="schema/CTool.exsd"/>
+   <extension-point id="CBuildVariable" name="C/C++ Build Variable"
schema="schema/CBuildVariable.exsd"/>
+   <extension-point id="CToolType" name="C/C++ Tool Type"
schema="schema/CToolType.exsd"/>
+
+   <extension
+         point="org.eclipse.cdt.core.CToolType">
+      <type
+            name="C Compiler"
+            id="org.eclipse.cdt.core.tool.c_compiler">
+      </type>
+      <type
+            name="C++ Compiler"
+            id="org.eclipse.cdt.core.tool.c++_compiler">
+      </type>
+      <type
+            name="Preprocessor"
+            id="org.eclipse.cdt.core.tool.c_preprocessor">
+      </type>
+      <type
+            name="Assembler"
+            id="org.eclipse.cdt.core.tool.assembler">
+      </type>
+      <type
+            name="Linker"
+            id="org.eclipse.cdt.core.tool.linker">
+      </type>
+      <type
+            name="Archiver"
+            id="org.eclipse.cdt.core.tool.archiver">
+      </type>
+      <type
+            name="Debugger"
+            id="org.eclipse.cdt.core.tool.debugger">
+      </type>
+      <type
+            name="Profiler"
+            id="org.eclipse.cdt.core.tool.profiler">
+      </type>
+      <type
+            name="Symbol Stripper"
+            id="org.eclipse.cdt.core.tool.strip">
+      </type>
+   </extension>
+
    <extension
          point="org.eclipse.cdt.core.BinaryParser">
       <parser
Index: builder/org/eclipse/cdt/core/builder/BuilderModel.java
===================================================================
RCS file: builder/org/eclipse/cdt/core/builder/BuilderModel.java
diff -N builder/org/eclipse/cdt/core/builder/BuilderModel.java
--- builder/org/eclipse/cdt/core/builder/BuilderModel.java	26 Aug 2002
20:01:45 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,113 +0,0 @@
-package org.eclipse.cdt.core.builder;
-
-/*
- * (c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- */
- 
-import org.eclipse.core.resources.ICommand;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IProjectDescription;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-
-public class BuilderModel {
-	
-	private static BuilderModel buildModel = null;
-
-	public final static String PLUGIN_ID = "org.eclipse.cdt.core";
-	public final static String BUILDER_NAME = "cbuilder";
-	public final static String BUILDER_ID = PLUGIN_ID + "." +
BUILDER_NAME;
-
-	public static String getBuilderName () {
-		return BUILDER_NAME;
-	}
-
-	public static String getBuilderId () {
-		return BUILDER_ID;
-	}
-/*
-	public IBuildPath getBuildPath(IProject project) {
-		return null;
-	}
-
-	public void setBuildPath(IProject project, IBuildPath bp) {
-	}
-*/
-	public void addBuildListener () {
-	}
-
-	public void removeBuildListener() {
-	}
-
-	public void build(IProject project, IPath workingDir, String[] args)
{
-	}
-
-	/**
-	 * Adds default C Builder.
-	 */
-	public void addCToBuildSpec(IProject project) throws CoreException {
-		addToBuildSpec(project, getBuilderId());
-	}
-
-	/**
-	 * Adds a builder to the build spec for the given project.
-	 */
-	public void addToBuildSpec(IProject project, String builderID)
throws CoreException {
-		IProjectDescription description = project.getDescription();
-		ICommand[] commands = description.getBuildSpec();
-		ICommand command = null;
-		for (int i = 0; i < commands.length; i++) {
-			if (commands[i].getBuilderName().equals(builderID))
{
-				command = commands[i];
-				break;
-			}
-		}
-		if (command == null) {
-			command = description.newCommand();
-			command.setBuilderName(builderID);
-
-			// Add a build spec before other builders (1FWJK7I)
-			ICommand[] newCommands = new
ICommand[commands.length + 1];
-			System.arraycopy(commands, 0, newCommands, 1,
commands.length);
-			newCommands[0] = command;
-			// Commit the spec change into the project
-			description.setBuildSpec(newCommands);
-			project.setDescription(description, null);
-		}
-	}
-
-	/**
-	 * Removes the default C Builder.
-	 */
-	public void removeCFromBuildSpec(IProject project) throws
CoreException {
-		removeFromBuildSpec(project, getBuilderId());
-	}
-
-	/**
-	 * Removes the given builder from the build spec for the given
project.
-	 */
-	public void removeFromBuildSpec(IProject project, String builderID)
throws CoreException {
-		IProjectDescription description = project.getDescription();
-		ICommand[] commands = description.getBuildSpec();
-		for (int i = 0; i < commands.length; ++i) {
-			if (commands[i].getBuilderName().equals(builderID))
{
-				ICommand[] newCommands = new
ICommand[commands.length - 1];
-				System.arraycopy(commands, 0, newCommands,
0, i);
-				System.arraycopy(commands, i + 1,
newCommands, i, commands.length - i - 1);
-				description.setBuildSpec(newCommands);
-				project.setDescription(description, null);
-			}
-		}
-	}
-
-	private BuilderModel() {
-	}
-
-	public static BuilderModel getDefault() {
-		if (buildModel == null) {
-			buildModel = new BuilderModel();
-		}
-		return buildModel;
-	}
-}
Index: builder/org/eclipse/cdt/core/builder/CIncrementalBuilder.java
===================================================================
RCS file: builder/org/eclipse/cdt/core/builder/CIncrementalBuilder.java
diff -N builder/org/eclipse/cdt/core/builder/CIncrementalBuilder.java
--- builder/org/eclipse/cdt/core/builder/CIncrementalBuilder.java	14
Feb 2003 01:15:50 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,78 +0,0 @@
-package org.eclipse.cdt.core.builder;
-
-import java.util.Map;
-
-import org.eclipse.cdt.core.CCorePlugin;
-import org.eclipse.cdt.core.resources.IConsole;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IncrementalProjectBuilder;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-
-/*
- * (c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- */
-
-/**
- *  
- * Note: This class/interface is part of an interim API that is still under
development and
- * expected to change significantly before reaching stability. It is being
made available at
- * this early stage to solicit feedback from pioneering adopters on the
understanding that any
- * code that uses this API will almost certainly be broken (repeatedly) as
the API evolves.
- */
-public class CIncrementalBuilder extends IncrementalProjectBuilder {
-	int kind;
-	Map args;
-	IProgressMonitor monitor;
-
-	private ICBuilder fCurrentBuilder;
-
-	public int getkind() {
-		return kind;
-	}
-
-	public Map getMap() {
-		return args;
-	}
-
-	public IProgressMonitor monitor() {
-		return monitor;
-	}
-
-	public IConsole getConsole() {
-		String id = fCurrentBuilder.getID();
-		return CCorePlugin.getDefault().getConsole(id);
-	}
-
-	//FIXME: Not implemented
-	public IPath getBuildDirectory() {
-		return getProject().getLocation();
-	}
-
-	//FIXME: Not implemented
-	public String[] getBuildParameters() {
-		return new String[0];
-	}
-
-	protected  IProject[] build(int kind, Map args, IProgressMonitor
monitor)
-		throws CoreException {
-
-		this.kind = kind;
-		this.args = args;
-		this.monitor = monitor;
-
-		// Get the ICBuilder
-		ICBuilder cbuilder[] = getCBuilder();
-
-		// FIXME: Check preference for non-modal builds
-		fCurrentBuilder = cbuilder[0];
-		return fCurrentBuilder.build(this);
-	}
-
-	//FIXME: Not implemented
-	private ICBuilder[] getCBuilder () throws CoreException {
-		return new ICBuilder[0];
-	}
-}
Index: builder/org/eclipse/cdt/core/builder/ICBuilder.java
===================================================================
RCS file: builder/org/eclipse/cdt/core/builder/ICBuilder.java
diff -N builder/org/eclipse/cdt/core/builder/ICBuilder.java
--- builder/org/eclipse/cdt/core/builder/ICBuilder.java	11 Sep 2002 14:49:24
-0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,80 +0,0 @@
-package org.eclipse.cdt.core.builder;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IPath;
-
-/*
- * (c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- */
-
-/**
- *  
- * This class provides the infrastructure for defining a builder and
fulfills the contract
- * specified by the org.eclipse.cdt.core.cbuilder standard extension point.
-
- * Note: This class/interface is part of an interim API that is still under
development and
- * expected to change significantly before reaching stability. It is being
made available at
- * this early stage to solicit feedback from pioneering adopters on the
understanding that any
- * code that uses this API will almost certainly be broken (repeatedly) as
the API evolves.
- */
-public interface ICBuilder {
-	/**
-	 * return the search include path list.
-	 * @return IPath[]
-	 */
-	IPath[] getIncludePaths();
-	
-	/**
-	 * Change the search include path lists.
-	 * @params IPath[]
-	 */
-	void setIncludePaths(IPath[] incPaths);
-	
-	/**
-	 * return the search library path list.
-	 * @return IPath[]
-	 */
-	IPath[] getLibraryPaths();
-
-	/**
-	 * Change the search library path lists.
-	 * @params IPath[]
-	 */
-	void setLibraryPaths(IPath[] libPaths);
-
-	/**
-	 * return the list of libraries use.
-	 * @return String[]
-	 */
-	String[] getLibraries();
-
-	/**
-	 * Change the libraries.
-	 * @params String[]
-	 */
-	void setLibraries(String[] libs);
-
-	/**
-	 * Get the Optimization level.
-	 * @return IOptimization
-	 */
-	IOptimization getOptimization();
-
-	/**
-	 * Change the Optimization level.
-	 * @params IOptimization
-	 */
-	void setOptimization(IOptimization o);
-
-	/**
-	 * Build the project.
-	 */
-	IProject[] build(CIncrementalBuilder cbuilder);
-
-	/**
-	 * Method getID.
-	 * @return String
-	 */
-	String getID();
-}
Index: builder/org/eclipse/cdt/core/builder/IOptimization.java
===================================================================
RCS file: builder/org/eclipse/cdt/core/builder/IOptimization.java
diff -N builder/org/eclipse/cdt/core/builder/IOptimization.java
--- builder/org/eclipse/cdt/core/builder/IOptimization.java	26 Aug 2002
20:01:45 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,20 +0,0 @@
-package org.eclipse.cdt.core.builder;
-
-/*
- * (c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- */
-
-/**
- *  
- * Note: This class/interface is part of an interim API that is still under
development and
- * expected to change significantly before reaching stability. It is being
made available at
- * this early stage to solicit feedback from pioneering adopters on the
understanding that any
- * code that uses this API will almost certainly be broken (repeatedly) as
the API evolves.
- */
-public interface IOptimization {
-	String getDescription(int level);
-	int getCurrentLevel();
-	void setCurrentLevel(int level);
-	int[] getLevels();
-}
Index: schema/CBuildConfiguration.exsd
===================================================================
RCS file: schema/CBuildConfiguration.exsd
diff -N schema/CBuildConfiguration.exsd
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ schema/CBuildConfiguration.exsd	17 Feb 2003 19:09:16 -0000
@@ -0,0 +1,116 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.cdt.core">
+<annotation>
+   <appInfo>
+      <meta.schema plugin="org.eclipse.cdt.core" id="CBuildConfiguration"
name="C/C++ Build Configuration"/>
+   </appInfo>
+   <documentation>
+      [Enter description of this extension point]
+   </documentation>
+</annotation>
+
+   <element name="extension">
+      <complexType>
+         <sequence>
+            <element ref="configuration" minOccurs="1"
maxOccurs="unbounded"/>
+         </sequence>
+         <attribute name="point" type="string" use="required">
+            <annotation>
+               <documentation>
+                  a fully qualified identifier of the target extension
point
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="id" type="string">
+            <annotation>
+               <documentation>
+                  an optional identifier of the extension instance
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="name" type="string">
+            <annotation>
+               <documentation>
+                  an optional name of the extension instance
+               </documentation>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <element name="configuration">
+      <complexType>
+         <attribute name="name" type="string" use="required">
+            <annotation>
+               <documentation>
+                  a translatable name that will be used to identify this
build
+configuration in UI elements.
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="class" type="string" use="required">
+            <annotation>
+               <documentation>
+                  name of a Java class implementing the
ICBuildConfigurationProvider interface.
+               </documentation>
+               <appInfo>
+                  <meta.attribute kind="java"
basedOn="org.eclipse.cdt.core.builder.model.ICBuildConfigurationProvider"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+         <attribute name="id" type="string" use="required">
+            <annotation>
+               <documentation>
+                  a unique name that will be used to idenitfy this build
configuration.
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="natures" type="string">
+            <annotation>
+               <documentation>
+                  project nature this build configuration is associated
with.
+If '*' or not specified, it is associated with all project natures.
+               </documentation>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="examples"/>
+      </appInfo>
+      <documentation>
+         [Enter extension point usage example here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="apiInfo"/>
+      </appInfo>
+      <documentation>
+         [Enter API information here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="implementation"/>
+      </appInfo>
+      <documentation>
+         [Enter information about supplied implementation of this extension
point.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="copyright"/>
+      </appInfo>
+      <documentation>
+         
+      </documentation>
+   </annotation>
+
+</schema>
Index: schema/CBuildVariable.exsd
===================================================================
RCS file: schema/CBuildVariable.exsd
diff -N schema/CBuildVariable.exsd
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ schema/CBuildVariable.exsd	17 Feb 2003 19:09:16 -0000
@@ -0,0 +1,109 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.cdt.core.builder">
+<annotation>
+   <appInfo>
+      <meta.schema plugin="org.eclipse.cdt.core.builder"
id="CBuildVariable" name="C/C++ Build Variable"/>
+   </appInfo>
+   <documentation>
+      [Enter description of this extension point]
+   </documentation>
+</annotation>
+
+   <element name="extension">
+      <complexType>
+         <sequence>
+            <element ref="variable" minOccurs="1" maxOccurs="unbounded"/>
+         </sequence>
+         <attribute name="point" type="string" use="required">
+            <annotation>
+               <documentation>
+                  a fully qualified identifier of the target extension
point
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="id" type="string">
+            <annotation>
+               <documentation>
+                  an optional identifier of the extension instance
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="name" type="string">
+            <annotation>
+               <documentation>
+                  an optional name of the extension instance
+               </documentation>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <element name="variable">
+      <complexType>
+         <attribute name="class" type="string" use="required">
+            <annotation>
+               <documentation>
+                  name of a Java class implementing the
ICBuildVariableProvider
+interface.
+               </documentation>
+               <appInfo>
+                  <meta.attribute kind="java"
basedOn="org.eclipse.cdt.core.builder.model.ICBuildVariable"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+         <attribute name="id" type="string" use="required">
+            <annotation>
+               <documentation>
+                  a unique name that will be used to idenitfy this build
variable provider.
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="natures" type="string">
+            <annotation>
+               <documentation>
+                  project nature this build variable provider is associated
with.
+If '*' or not specified, it is associated with all project natures.
+               </documentation>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="examples"/>
+      </appInfo>
+      <documentation>
+         [Enter extension point usage example here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="apiInfo"/>
+      </appInfo>
+      <documentation>
+         [Enter API information here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="implementation"/>
+      </appInfo>
+      <documentation>
+         [Enter information about supplied implementation of this extension
point.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="copyright"/>
+      </appInfo>
+      <documentation>
+         
+      </documentation>
+   </annotation>
+
+</schema>
Index: schema/CTool.exsd
===================================================================
RCS file: schema/CTool.exsd
diff -N schema/CTool.exsd
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ schema/CTool.exsd	17 Feb 2003 19:09:16 -0000
@@ -0,0 +1,114 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.cdt.core.builder">
+<annotation>
+   <appInfo>
+      <meta.schema plugin="org.eclipse.cdt.core.builder" id="CTool"
name="C/C++ Tool"/>
+   </appInfo>
+   <documentation>
+      [Enter description of this extension point]
+   </documentation>
+</annotation>
+
+   <element name="extension">
+      <complexType>
+         <sequence>
+            <element ref="tool" minOccurs="1" maxOccurs="unbounded"/>
+         </sequence>
+         <attribute name="point" type="string" use="required">
+            <annotation>
+               <documentation>
+                  a fully qualified identifier of the target extension
point
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="id" type="string">
+            <annotation>
+               <documentation>
+                  an optional identifier of the extension instance
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="name" type="string">
+            <annotation>
+               <documentation>
+                  an optional name of the extension instance
+               </documentation>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <element name="tool">
+      <complexType>
+         <attribute name="name" type="string" use="required">
+            <annotation>
+               <documentation>
+                  a translatable name that will be used to identify this
tool in UI elements.
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="class" type="string" use="required">
+            <annotation>
+               <documentation>
+                  name of a Java class implementing the ICTool interface.
+               </documentation>
+               <appInfo>
+                  <meta.attribute kind="java"
basedOn="org.eclipse.cdt.core.builder.model.ICTool"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+         <attribute name="id" type="string" use="required">
+            <annotation>
+               <documentation>
+                  a unique name that will be used to idenitfy this tool.
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="type" type="string" use="required">
+            <annotation>
+               <documentation>
+                  the type of this tool (corresponds to a CToolType id).
+               </documentation>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="examples"/>
+      </appInfo>
+      <documentation>
+         [Enter extension point usage example here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="apiInfo"/>
+      </appInfo>
+      <documentation>
+         [Enter API information here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="implementation"/>
+      </appInfo>
+      <documentation>
+         [Enter information about supplied implementation of this extension
point.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="copyright"/>
+      </appInfo>
+      <documentation>
+         
+      </documentation>
+   </annotation>
+
+</schema>
Index: schema/CToolType.exsd
===================================================================
RCS file: schema/CToolType.exsd
diff -N schema/CToolType.exsd
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ schema/CToolType.exsd	17 Feb 2003 19:09:16 -0000
@@ -0,0 +1,98 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.cdt.core.builder">
+<annotation>
+   <appInfo>
+      <meta.schema plugin="org.eclipse.cdt.core.builder" id="CToolType"
name="name"/>
+   </appInfo>
+   <documentation>
+      [Enter description of this extension point]
+   </documentation>
+</annotation>
+
+   <element name="extension">
+      <complexType>
+         <sequence>
+            <element ref="type" minOccurs="1" maxOccurs="unbounded"/>
+         </sequence>
+         <attribute name="point" type="string" use="required">
+            <annotation>
+               <documentation>
+                  a fully qualified identifier of the target extension
point
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="id" type="string">
+            <annotation>
+               <documentation>
+                  an optional identifier of the extension instance
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="name" type="string">
+            <annotation>
+               <documentation>
+                  an optional name of the extension instance
+               </documentation>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <element name="type">
+      <complexType>
+         <attribute name="id" type="string">
+            <annotation>
+               <documentation>
+                  a unique name that will be used to idenitfy this type of
tool.
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="name" type="string">
+            <annotation>
+               <documentation>
+                  a translatable name that will be used to identify this
type of
+tool in UI elements.
+               </documentation>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="examples"/>
+      </appInfo>
+      <documentation>
+         [Enter extension point usage example here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="apiInfo"/>
+      </appInfo>
+      <documentation>
+         [Enter API information here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="implementation"/>
+      </appInfo>
+      <documentation>
+         [Enter information about supplied implementation of this extension
point.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="copyright"/>
+      </appInfo>
+      <documentation>
+         
+      </documentation>
+   </annotation>
+
+</schema>
Index: schema/CToolchain.exsd
===================================================================
RCS file: schema/CToolchain.exsd
diff -N schema/CToolchain.exsd
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ schema/CToolchain.exsd	17 Feb 2003 19:09:16 -0000
@@ -0,0 +1,109 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.cdt.core">
+<annotation>
+   <appInfo>
+      <meta.schema plugin="org.eclipse.cdt.core" id="a CToolchainProvider"
name="C/C++ Toolchain Provider"/>
+   </appInfo>
+   <documentation>
+      [Enter description of this extension point]
+   </documentation>
+</annotation>
+
+   <element name="extension">
+      <complexType>
+         <sequence>
+            <element ref="provider" minOccurs="1" maxOccurs="unbounded"/>
+         </sequence>
+         <attribute name="point" type="string" use="required">
+            <annotation>
+               <documentation>
+                  a fully qualified identifier of the target extension
point
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="id" type="string">
+            <annotation>
+               <documentation>
+                  an optional identifier of the extension instance
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="name" type="string">
+            <annotation>
+               <documentation>
+                  an optional name of the extension instance
+               </documentation>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <element name="provider">
+      <complexType>
+         <attribute name="id" type="string" use="required">
+            <annotation>
+               <documentation>
+                  a unique name that will be used to identify this
toolchain provider.
+               </documentation>
+            </annotation>
+         </attribute>
+         <attribute name="class" type="string" use="required">
+            <annotation>
+               <documentation>
+                  name of a Java class implementing the ICToolchainProvider
+interface.
+               </documentation>
+               <appInfo>
+                  <meta.attribute kind="java"
basedOn="org.eclipse.cdt.core.builder.model.ICToolchainProvider"/>
+               </appInfo>
+            </annotation>
+         </attribute>
+         <attribute name="natures" type="string">
+            <annotation>
+               <documentation>
+                  project nature this build configuration is associated
with.
+If '*' or not specified, it is associated with all project natures.
+               </documentation>
+            </annotation>
+         </attribute>
+      </complexType>
+   </element>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="examples"/>
+      </appInfo>
+      <documentation>
+         [Enter extension point usage example here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="apiInfo"/>
+      </appInfo>
+      <documentation>
+         [Enter API information here.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="implementation"/>
+      </appInfo>
+      <documentation>
+         [Enter information about supplied implementation of this extension
point.]
+      </documentation>
+   </annotation>
+
+   <annotation>
+      <appInfo>
+         <meta.section type="copyright"/>
+      </appInfo>
+      <documentation>
+         
+      </documentation>
+   </annotation>
+
+</schema>



Back to the top