Package org.gradle.logging.internal

Examples of org.gradle.logging.internal.StreamingStyledTextOutputFactory


            // the error reporting below is applied to as much code as possible
            CommandLineActionFactory actionFactory = createActionFactory();
            Action<ExecutionListener> action = actionFactory.convert(Arrays.asList(args));
            action.execute(buildCompleter);
        } catch (Throwable e) {
            BuildExceptionReporter exceptionReporter = new BuildExceptionReporter(new StreamingStyledTextOutputFactory(System.err), new StartParameter(), new GradleLauncherMetaData());
            exceptionReporter.reportException(e);
            buildCompleter.onFailure(e);
        }
        buildCompleter.exit();
    }
View Full Code Here


    protected ExecutionCompleter createCompleter() {
        return new ProcessCompleter();
    }

    protected Action<Throwable> createErrorHandler() {
        return new BuildExceptionReporter(new StreamingStyledTextOutputFactory(System.err), new LoggingConfiguration(), new GradleLauncherMetaData());
    }
View Full Code Here

TOP

Related Classes of org.gradle.logging.internal.StreamingStyledTextOutputFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.