Class StandardBuildConfiguration

    • Field Detail

      • BUILD_CONTAINER

        public static final java.lang.String BUILD_CONTAINER
        Since:
        6.4
        See Also:
        Constant Field Values
      • BUILD_COMMAND

        public static final java.lang.String BUILD_COMMAND
        Since:
        6.4
        See Also:
        Constant Field Values
      • CLEAN_COMMAND

        public static final java.lang.String CLEAN_COMMAND
        Since:
        6.4
        See Also:
        Constant Field Values
    • Constructor Detail

      • StandardBuildConfiguration

        public StandardBuildConfiguration​(org.eclipse.core.resources.IBuildConfiguration config,
                                          java.lang.String name)
                                   throws org.eclipse.core.runtime.CoreException
        Throws:
        org.eclipse.core.runtime.CoreException
      • StandardBuildConfiguration

        public StandardBuildConfiguration​(org.eclipse.core.resources.IBuildConfiguration config,
                                          java.lang.String name,
                                          IToolChain toolChain,
                                          java.lang.String launchMode)
                                   throws org.eclipse.core.runtime.CoreException
        Throws:
        org.eclipse.core.runtime.CoreException
    • Method Detail

      • setBuildContainer

        public void setBuildContainer​(org.eclipse.core.resources.IContainer buildContainer)
      • setBuildCommand

        public void setBuildCommand​(java.lang.String[] buildCommand)
      • setCleanCommand

        public void setCleanCommand​(java.lang.String[] cleanCommand)
      • getBuildContainer

        public org.eclipse.core.resources.IContainer getBuildContainer()
                                                                throws org.eclipse.core.runtime.CoreException
        Overrides:
        getBuildContainer in class CBuildConfiguration
        Throws:
        org.eclipse.core.runtime.CoreException
      • getDefaultBuildContainer

        public org.eclipse.core.resources.IContainer getDefaultBuildContainer()
                                                                       throws org.eclipse.core.runtime.CoreException
        Throws:
        org.eclipse.core.runtime.CoreException
        Since:
        6.4
      • setProperties

        public boolean setProperties​(java.util.Map<java.lang.String,​java.lang.String> properties)
        Description copied from interface: ICBuildConfiguration
        Set the properties for this build configuration. These will often come from launch configurations which have build settings as attributes.
        Specified by:
        setProperties in interface ICBuildConfiguration
        Overrides:
        setProperties in class CBuildConfiguration
        Parameters:
        properties - build properties
        Returns:
        whether the properties have changed
      • build

        public org.eclipse.core.resources.IProject[] build​(int kind,
                                                           java.util.Map<java.lang.String,​java.lang.String> args,
                                                           IConsole console,
                                                           org.eclipse.core.runtime.IProgressMonitor monitor)
                                                    throws org.eclipse.core.runtime.CoreException
        Description copied from interface: ICBuildConfiguration
        Perform the build.
        Parameters:
        kind - build type
        args - build arguments
        console - console to show build output
        monitor - progress monitor
        Returns:
        the list of projects for which this builder would like deltas the next time it is run or null if none
        Throws:
        org.eclipse.core.runtime.CoreException
      • clean

        public void clean​(IConsole console,
                          org.eclipse.core.runtime.IProgressMonitor monitor)
                   throws org.eclipse.core.runtime.CoreException
        Description copied from interface: ICBuildConfiguration
        Perform clean.
        Parameters:
        console - console to show clean output
        monitor - progress monitor
        Throws:
        org.eclipse.core.runtime.CoreException