org.eclipse.cdt.managedbuilder.internal.buildmodel
Class ParallelBuilder

java.lang.Object
  extended by org.eclipse.cdt.managedbuilder.internal.buildmodel.ParallelBuilder

public class ParallelBuilder
extends java.lang.Object

This is the main class for parallel internal builder implementation NOTE: This class is subject to change and discuss, and is currently available in experimental mode only


Field Summary
static int lastThreadsUsed
           
static long MAIN_LOOP_DELAY
           
static int STATUS_CANCELED
           
static int STATUS_ERROR
           
static int STATUS_INVALID
           
static int STATUS_OK
           
 
Method Summary
static int build(IBuildDescription des, org.eclipse.core.runtime.IPath cwd, GenDirInfo dirs, java.io.OutputStream out, java.io.OutputStream err, org.eclipse.core.runtime.IProgressMonitor monitor, boolean resumeOnErrors, boolean buildIncrementally)
          Build process is divided into following steps: 1.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATUS_OK

public static final int STATUS_OK
See Also:
Constant Field Values

STATUS_ERROR

public static final int STATUS_ERROR
See Also:
Constant Field Values

STATUS_CANCELED

public static final int STATUS_CANCELED
See Also:
Constant Field Values

STATUS_INVALID

public static final int STATUS_INVALID
See Also:
Constant Field Values

MAIN_LOOP_DELAY

public static final long MAIN_LOOP_DELAY
See Also:
Constant Field Values

lastThreadsUsed

public static int lastThreadsUsed
Method Detail

build

public static int build(IBuildDescription des,
                        org.eclipse.core.runtime.IPath cwd,
                        GenDirInfo dirs,
                        java.io.OutputStream out,
                        java.io.OutputStream err,
                        org.eclipse.core.runtime.IProgressMonitor monitor,
                        boolean resumeOnErrors,
                        boolean buildIncrementally)
Build process is divided into following steps: 1. Resources enqueueing & levelling 2. Queue sorting 3. Queue dispatching

Parameters:
des - Build description
cwd - Working directory
dirs - GenDirInfo?
out - Output stream
err - Error output stream
monitor - Progress monitor
resumeOnErrors - If true, build process will not stop when compilation errors encountered