Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for BuildExceptionReporter (0.41 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/buildevents/BuildExceptionReporter.java

    import static org.gradle.internal.logging.text.StyledTextOutput.Style.Normal;
    import static org.gradle.internal.logging.text.StyledTextOutput.Style.UserInput;
    
    /**
     * Reports the build exception, if any.
     */
    public class BuildExceptionReporter implements Action<Throwable> {
        private static final String NO_ERROR_MESSAGE_INDICATOR = "(no error message)";
    
        public static final String RESOLUTION_LINE_PREFIX = "> ";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailureTest.groovy

    2019-10-03T09:33:09.031+0200 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
    2019-10-03T09:33:09.031+0200 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
    2019-10-03T09:33:09.031+0200 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':broken'.
    2019-10-03T09:33:09.031+0200 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] \u001B[33m> \u001B[39mbroken
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/buildevents/BuildLogger.java

    /**
     * A {@link org.gradle.BuildListener} which logs the build progress.
     */
    public class BuildLogger implements InternalBuildListener, TaskExecutionGraphListener {
        private final Logger logger;
        private final BuildExceptionReporter exceptionReporter;
        private final BuildResultLogger resultLogger;
        private String action;
    
        public BuildLogger(
            Logger logger,
            StyledTextOutputFactory textOutputFactory,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Feb 04 18:57:43 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/bootstrap/EntryPoint.java

    import org.gradle.api.logging.configuration.ShowStacktrace;
    import org.gradle.configuration.DefaultBuildClientMetaData;
    import org.gradle.configuration.GradleLauncherMetaData;
    import org.gradle.internal.buildevents.BuildExceptionReporter;
    import org.gradle.internal.logging.DefaultLoggingConfiguration;
    import org.gradle.internal.logging.text.StreamingStyledTextOutputFactory;
    
    import javax.annotation.CheckForNull;
    import java.io.PrintStream;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. Development.md

    The idea is to provide a list of suggestions for a problem in the console output.
    The suggestions are displayed in the separate "Try"- section of the console output.
    The suggestions are collected in the `BuildExceptionReporter` and printed to the console.
    
    In some cases, you still want to keep the old behavior and display the suggestions in the error message.
    
    ### Add custom suggestions
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 22:54:40 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/DefaultCommandLineActionFactory.java

    import org.gradle.initialization.BuildClientMetaData;
    import org.gradle.initialization.layout.BuildLayoutFactory;
    import org.gradle.internal.Actions;
    import org.gradle.internal.buildevents.BuildExceptionReporter;
    import org.gradle.internal.jvm.Jvm;
    import org.gradle.internal.logging.DefaultLoggingConfiguration;
    import org.gradle.internal.logging.LoggingConfigurationBuildOptions;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/internal/buildevents/BuildExceptionReporterTest.groovy

        final GradleEnterprisePluginManager gradleEnterprisePluginManager = Mock()
        final LoggingConfiguration configuration = new DefaultLoggingConfiguration()
        final BuildExceptionReporter reporter = new BuildExceptionReporter(factory, configuration, clientMetaData, gradleEnterprisePluginManager)
    
    
        static final String MESSAGE = "<message>"
        static final String FAILURE = '<failure>'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.internal.buildevents.BuildExceptionReporter$ContextImpl> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (BuildExceptionReporter.java:0)
    Class <org.gradle.internal.buildevents.BuildExceptionReporter$ExceptionFormattingVisitor> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (BuildExceptionReporter.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top