Class AptBuilder

  • All Implemented Interfaces:

    public class AptBuilder
    extends Object
    implements IApplication
    Commandline entry point for building a workspace using APT. Currently cleans and then builds the entire workspace.

    Sample commandline invocation: %ECLIPSE_HOME%/eclipsec -nosplash -application org.eclipse.jdt.apt.core.aptBuild -data %WORKSPACE% This class should not be referenced programmatically by other Java code. This class exists only for the purpose of launching the AptBuilder from the command line. The fields and methods on this class are not API.

    • Constructor Detail

      • AptBuilder

        public AptBuilder()
    • Method Detail

      • start

        public Object start​(IApplicationContext context)
                     throws Exception
        Runs this runnable with the given application context and returns a result. The content of the args is unchecked and should conform to the expectations of the runnable being invoked. Typically this is a String array. Applications can return any object they like. If an Integer is returned it is treated as the program exit code if Eclipse is exiting.
        Specified by:
        start in interface IApplication
        context - the given application context passed to the application
        the return value of the application
        Exception - if there is a problem running this runnable.
        See Also:
        IApplication.EXIT_OK, IApplication.EXIT_RESTART, IApplication.EXIT_RELAUNCH