Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for setColorEnabled (0.06 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            if ("always".equals(styleColor) || "yes".equals(styleColor) || "force".equals(styleColor)) {
                MessageUtils.setColorEnabled(true);
            } else if ("never".equals(styleColor) || "no".equals(styleColor) || "none".equals(styleColor)) {
                MessageUtils.setColorEnabled(false);
            } else if (!"auto".equals(styleColor) && !"tty".equals(styleColor) && !"if-tty".equals(styleColor)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            // Note: Maven3 suffers from similar thing: if you do `mvn3 foo > log.txt`, the output will
            // not be not colored (good), but Maven will print out "Message scheme: color".
            MessageUtils.setColorEnabled(
                    context.coloredOutput != null ? context.coloredOutput : !Terminal.TYPE_DUMB.equals(terminal.getType()));
    
            // handle rawStreams: some would like to act on true, some on false
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
Back to Top