All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schema.builders.exsd Maven / Gradle / Ivy

There is a newer version: 3.22.0
Show newest version




      
         
      
      
         The workspace supports the notion of an incremental 
project builder (or "builder" for short").  The job 
of a builder is to process a set of resource changes 
(supplied as a resource delta).  For example, a Java 
builder would recompile changed Java files and produce 
new class files. 
<p>
Builders are configured on a per-project basis and run 
automatically when resources within their project are 
changed.  As such, builders should be fast and scale 
with respect to the amount of change rather than the 
number of resources in the project.  This typically 
implies that builders are able to incrementally update 
their "built state". 
<p>
The builders extension-point allows builder writers 
to register their builder implementation under a 
symbolic name that is then used from within the 
workspace to find and run builders. The symbolic 
name is the id of the builder extension. When defining a builder extension, users are encouraged to include a human-readable value for the "name" attribute which identifies their builder and potentially may be presented to users.
      
   

   
      
         
            
         
      
      
         
            
         
         
            
               
                  a fully qualified identifier of the target extension point
               
            
         
         
            
               
                  an optional identifier of the extension instance
               
            
         
         
            
               
                  an optional name of the extension instance
               
               
                  
               
            
         
      
   

   
      
         
            
            
         
         
            
               
                  "<tt>true</tt>" or "<tt>false</tt>" indicating whether the builder is owned by
a project nature.  If "<tt>true</tt>" and no corresponding nature is
found, this builder will not run but will remain in the project's
build spec.  If the attribute is not specified, it is assumed to be "<tt>false</tt>".
               
            
         
         
            
               
                  "<tt>true</tt>" or "<tt>false</tt>" indicating whether the builder allows customization of what build triggers it will respond to.  If "<tt>true</tt>", clients will be able to use the API <tt>ICommand.setBuilding</tt> to specify if this builder should be run for a particular build trigger. If the attribute is not specified, it is assumed to be "<tt>false</tt>".
               
            
         
         
            
               
                  "<tt>true</tt>" or "<tt>false</tt>" indicating whether the builder should be called on <tt>INCREMENTAL_BUILD</tt> when the resource deltas for its affected projects are empty.  If "<tt>true</tt>", the builder will always be called on builds of type <tt>INCREMENTAL_BUILD</tt>, regardless of whether any resources in the affected projects have changed.  If "<tt>false</tt>" or unspecified, the builder will only be called when affected projects have changed.  The value of this attribute does not affect the behaviour of builders for other build triggers, such as <tt>AUTO_BUILD</tt> or <tt>FULL_BUILD</tt>This attribute is intended to be used by builders that incrementally react to changing circumstances outside of the workspace, such as external libraries.
               
            
         
         
            
               
                  "<tt>true</tt>" or "<tt>false</tt>" indicating whether the builder supports multiple build configurations.  If "<tt>true</tt>" the builder is provided with a configuration specific delta.
If "<tt>false</tt>" the delta is the delta since build was last called.
<p>
 If the attribute is not specified, it is assumed to be "<tt>false</tt>".
               
            
         
      
   

   
      
         
            
         
         
            
               
                  the fully-qualified name of a subclass of 
<samp>org.eclipse.core.resources.IncrementalProjectBuilder</samp> which can
additionally optionally implement <samp>org.eclipse.core.resources.IIncrementalProjectBuilder2</samp>.
               
               
                  
               
            
         
      
   

   
      
         
            
         
      
      
         
            
               
                  the name of this parameter made available to 
instances of the specified builder class
               
            
         
         
            
               
                  an arbitrary value associated with the given 
name and made available to instances of the 
specified builder class
               
            
         
      
   

   
      
         
            
               
                  The fully-qualified name of a class that implements <samp>org.eclipse.core.resources.IDynamicReferenceProvider</samp>.
                  If supplied, the given class will be asked to return a list of other projects that
                  must be built before this one when the build system is computing the build order.
               
               
                  
               
            
         
      
   


   
      
         
      
      
         Following is an example of a builder configuration: 

<p>
<pre>
   <extension id="coolbuilder" name="Cool Builder" point="org.eclipse.core.resources.builders"> 
      <builder hasNature="false"> 
         <run class="com.xyz.builders.Cool"> 
            <parameter name="optimize" value="true"/> 
            <parameter name="comment" value="Produced by the Cool Builder"/> 
         </run> 
      </builder> 
   </extension> 
</pre>
</p>

If this extension was defined in a plug-in with id "com.xyz.coolplugin", the fully qualified name of this builder would be "com.xyz.coolplugin.coolbuilder".
      
   

   
      
         
      
      
         The value of the class attribute must represent a 
subclass of <samp>org.eclipse.core.resources.IncrementalProjectBuilder</samp> which can
additionally optionally implement <samp>org.eclipse.core.resources.IIncrementalProjectBuilder2</samp>.
      
   

   
      
         
      
      
         The platform itself does not have any predefined 
builders. Particular product installs may include 
builders as required.
      
   

   
      
         
      
      
         Copyright (c) 2002, 2010 IBM Corporation and others.<br>

This program and the accompanying materials are made 
available under the terms of the Eclipse Public License 2.0 which 
accompanies this distribution, and is available at 
<a href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/

SPDX-License-Identifier: EPL-2.0
      
   






© 2015 - 2025 Weber Informatics LLC | Privacy Policy