matthiasblaesing commented on issue #7441: URL: https://github.com/apache/netbeans/issues/7441#issuecomment-2156800645
I think you are wrong. The author works around #6210 by forcing maven to output color codes and This works: Normal output:  Output with "--color always":  So the output window of NetBeans happily parses the escape sequences and outputs them. What I see is this: 1. Maven process is executed and NetBeans receives its output 2. A set of handlers process the output line-by-line and react to that 3. The output might contain ansi escape sequences if maven either thinks it is talking to a real terminal or is forced to to so (the color flag) 4. The processors are not prepared to get output with ansi escape sequences 5. Because the processors are not prepared to get ansi escape sequences the `JUnitOutputListenerProvider` will not match the lines it should match All referenced issues may be related, but don't match. #3959 is from my POV totally different, as it just requests to be able to use `cmd`/`powershell` as _shell_. I ran `cmd` inside a the NetBeans terminal emulator at least once, so the terminal emulator of NetBeans is enough to support the output of `cmd`, `powershell` needs another test. I suspect the hard part is to see, that the features the NB Terminal emulator provides with `bash` also work with `cmd` (launching with a working directory, receiving title updates). #5552 just says, that it is not consistent across OutputWindow users and sometimes ansi escape sequences don't work, but my screenshot shows, that it works. My take on that is, that the problem is the sending side, that might detect, that it is not talking to a `tty` and thus falls back to not sending ansi sequences. #6210 is not a duplicate, but asks for color support by default, different problem and using `color` parameter explicitly overruled by author. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
