[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17069749#comment-17069749 ] Hudson commented on MNG-6282: - Build failed in Jenkins: Maven TLP » maven-studies » maven-metrics #4 See https://builds.apache.org/job/maven-box/job/maven-studies/job/maven-metrics/4/ > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.2 >Reporter: Dejan Stojadinović >Assignee: Herve Boutemy >Priority: Major > Labels: regression, windows > Fix For: 3.5.3 > > Attachments: image-2019-08-01-17-31-44-391.png, > image-2019-08-01-18-39-55-489.png, image-2019-08-02-13-03-47-169.png, > image-2019-08-02-16-41-57-271.png, image-2019-08-02-16-42-57-194.png, > screenshot-1.png, screenshot-2.png, screenshot-3.png, screenshot-4.png, > screenshot-5-Cygwin.png, screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16899172#comment-16899172 ] Michael Osipov commented on MNG-6282: - OK, thank you. [~hboutemy], I think the warning comes from the changes of [~gnt]. > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.2 >Reporter: Dejan Stojadinović >Assignee: Hervé Boutemy >Priority: Major > Labels: regression, windows > Fix For: 3.5.3 > > Attachments: image-2019-08-01-17-31-44-391.png, > image-2019-08-01-18-39-55-489.png, image-2019-08-02-13-03-47-169.png, > image-2019-08-02-16-41-57-271.png, image-2019-08-02-16-42-57-194.png, > screenshot-1.png, screenshot-2.png, screenshot-3.png, screenshot-4.png, > screenshot-5-Cygwin.png, screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16899161#comment-16899161 ] Joao Marson commented on MNG-6282: -- [~michael-o] colors are a-okay, there are some new warning messages thou, but I think it's unrelated: !image-2019-08-02-16-41-57-271.png! > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.2 >Reporter: Dejan Stojadinović >Assignee: Hervé Boutemy >Priority: Major > Labels: regression, windows > Fix For: 3.5.3 > > Attachments: image-2019-08-01-17-31-44-391.png, > image-2019-08-01-18-39-55-489.png, image-2019-08-02-13-03-47-169.png, > image-2019-08-02-16-41-57-271.png, screenshot-1.png, screenshot-2.png, > screenshot-3.png, screenshot-4.png, screenshot-5-Cygwin.png, > screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16899159#comment-16899159 ] Michael Osipov commented on MNG-6282: - Get them here: https://repository.apache.org/content/repositories/snapshots/org/apache/maven/apache-maven/3.6.2-SNAPSHOT/apache-maven-3.6.2-20190801.154122-48-bin.tar.gz Just want to be sure that 3.6.2 will work as well. > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.2 >Reporter: Dejan Stojadinović >Assignee: Hervé Boutemy >Priority: Major > Labels: regression, windows > Fix For: 3.5.3 > > Attachments: image-2019-08-01-17-31-44-391.png, > image-2019-08-01-18-39-55-489.png, image-2019-08-02-13-03-47-169.png, > screenshot-1.png, screenshot-2.png, screenshot-3.png, screenshot-4.png, > screenshot-5-Cygwin.png, screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16899095#comment-16899095 ] Joao Marson commented on MNG-6282: -- [~michael-o], the problem kinda solved on itself according to this. If you still need it, I just need to know where I can get the binary for the snapshot. > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.2 >Reporter: Dejan Stojadinović >Assignee: Hervé Boutemy >Priority: Major > Labels: regression, windows > Fix For: 3.5.3 > > Attachments: image-2019-08-01-17-31-44-391.png, > image-2019-08-01-18-39-55-489.png, image-2019-08-02-13-03-47-169.png, > screenshot-1.png, screenshot-2.png, screenshot-3.png, screenshot-4.png, > screenshot-5-Cygwin.png, screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16899063#comment-16899063 ] Michael Osipov commented on MNG-6282: - [~dionebigode], can you try 3.6.2-SNAPSHOT from master? > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.2 >Reporter: Dejan Stojadinović >Assignee: Hervé Boutemy >Priority: Major > Labels: regression, windows > Fix For: 3.5.3 > > Attachments: image-2019-08-01-17-31-44-391.png, > image-2019-08-01-18-39-55-489.png, image-2019-08-02-13-03-47-169.png, > screenshot-1.png, screenshot-2.png, screenshot-3.png, screenshot-4.png, > screenshot-5-Cygwin.png, screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16899009#comment-16899009 ] Joao Marson commented on MNG-6282: -- I'm sorry for reviving this old thing, but through the magic of time the problem solved itself and I don't even understand why. I didn't even restart my computer, just got to work and was about to write the issue when everything simply works. Thanks for you time anyways. !image-2019-08-02-13-03-47-169.png! > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.2 >Reporter: Dejan Stojadinović >Assignee: Hervé Boutemy >Priority: Major > Labels: regression, windows > Fix For: 3.5.3 > > Attachments: image-2019-08-01-17-31-44-391.png, > image-2019-08-01-18-39-55-489.png, image-2019-08-02-13-03-47-169.png, > screenshot-1.png, screenshot-2.png, screenshot-3.png, screenshot-4.png, > screenshot-5-Cygwin.png, screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16898573#comment-16898573 ] Hervé Boutemy commented on MNG-6282: [~dionebigode] ok, looks there is no issue at Jansi level but there is one at Maven level yes, please create a separate MNG issue > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.2 >Reporter: Dejan Stojadinović >Assignee: Hervé Boutemy >Priority: Major > Labels: regression, windows > Fix For: 3.5.3 > > Attachments: image-2019-08-01-17-31-44-391.png, > image-2019-08-01-18-39-55-489.png, screenshot-1.png, screenshot-2.png, > screenshot-3.png, screenshot-4.png, screenshot-5-Cygwin.png, > screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16898379#comment-16898379 ] Joao Marson commented on MNG-6282: -- [~hboutemy] The result for jensi seems to have colors, I guess think it's a maven issue, could you just confirm my assumption before I make a new issue? !image-2019-08-01-18-39-55-489.png! > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.2 >Reporter: Dejan Stojadinović >Assignee: Hervé Boutemy >Priority: Major > Labels: regression, windows > Fix For: 3.5.3 > > Attachments: image-2019-08-01-17-31-44-391.png, > image-2019-08-01-18-39-55-489.png, screenshot-1.png, screenshot-2.png, > screenshot-3.png, screenshot-4.png, screenshot-5-Cygwin.png, > screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16898373#comment-16898373 ] Hervé Boutemy commented on MNG-6282: [~dionebigode] please try "java -jar jansi-*.jar" to test Jansi and confirm that the issue is at Jansi level then create a separate issue, in Jansi if the issue is at Jansi level, or MNG if you think that the issue is at Maven level > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.2 >Reporter: Dejan Stojadinović >Assignee: Hervé Boutemy >Priority: Major > Labels: regression, windows > Fix For: 3.5.3 > > Attachments: image-2019-08-01-17-31-44-391.png, screenshot-1.png, > screenshot-2.png, screenshot-3.png, screenshot-4.png, > screenshot-5-Cygwin.png, screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16898344#comment-16898344 ] Michael Osipov commented on MNG-6282: - [~hboutemy], any idea? We'd actually need a minimalistic C program to reproduce and then apply to JAnsci. > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.2 >Reporter: Dejan Stojadinović >Assignee: Hervé Boutemy >Priority: Major > Labels: regression, windows > Fix For: 3.5.3 > > Attachments: image-2019-08-01-17-31-44-391.png, screenshot-1.png, > screenshot-2.png, screenshot-3.png, screenshot-4.png, > screenshot-5-Cygwin.png, screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16898341#comment-16898341 ] Joao Marson commented on MNG-6282: -- I know I'm a little late to the party but, I'm having this exact problem, but with Apache Maven 3.6.1. If I use maven 3.5.3 (the older version I was using) the colors are fine, but if I switch, goes blank. None of the solutions (-Djansi.passthrough=true -Dstyle.color=always -Djansi.force=true) work. !image-2019-08-01-17-31-44-391.png! > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.2 >Reporter: Dejan Stojadinović >Assignee: Hervé Boutemy >Priority: Major > Labels: regression, windows > Fix For: 3.5.3 > > Attachments: image-2019-08-01-17-31-44-391.png, screenshot-1.png, > screenshot-2.png, screenshot-3.png, screenshot-4.png, > screenshot-5-Cygwin.png, screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16359410#comment-16359410 ] Hudson commented on MNG-6282: - Build succeeded in Jenkins: Maven TLP (wip) » maven » MNG-6352-print-version #3 See https://builds.apache.org/job/maven-wip/job/maven/job/MNG-6352-print-version/3/ > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.2 >Reporter: Dejan Stojadinović >Assignee: Hervé Boutemy >Priority: Major > Labels: regression, windows > Fix For: 3.5.3 > > Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png, > screenshot-4.png, screenshot-5-Cygwin.png, screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16359374#comment-16359374 ] Hudson commented on MNG-6282: - Build succeeded in Jenkins: Maven TLP (wip) » maven » master #34 See https://builds.apache.org/job/maven-wip/job/maven/job/master/34/ > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.2 >Reporter: Dejan Stojadinović >Priority: Major > Labels: regression, windows > Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png, > screenshot-4.png, screenshot-5-Cygwin.png, screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16205076#comment-16205076 ] Hervé Boutemy commented on MNG-6282: workaround from MNG-6242 integrated to make its path to Maven 3.5.2 this issue will track the final fix, done by improving jansi-native Windows isatty() https://github.com/fusesource/jansi-native/issues/11 > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.1 >Reporter: Dejan Stojadinović > Labels: regression, windows > Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png, > screenshot-4.png, screenshot-5-Cygwin.png, screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16173012#comment-16173012 ] Dejan Stojadinović commented on MNG-6282: - Thanx [~hboutemy] ! I'm always happy to help. > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.1 >Reporter: Dejan Stojadinović > Labels: regression, windows > Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png, > screenshot-4.png, screenshot-5-Cygwin.png, screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16169252#comment-16169252 ] Hervé Boutemy commented on MNG-6282: just for the records, as detailed on https://github.com/fusesource/jansi/issues/94#issuecomment-329976333 , the root cause looks like Cygwin and MSYS don't create real terminals but pseudo-terminals, that isatty -- as expected -- detects as non-terminal, then Jansi has to implement additional pseudo terminal detection from Cygwin and MSYS naming convention, as it is done in Git for Windows https://github.com/git/git/commit/86924838e3d881cda2192fd79ac3a58aad75efd3 thank you [~dejan2609] for your help on this one, without you, I would not have found the root cause. It's great to have multiple people, with multiple approaches, working together > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.1 >Reporter: Dejan Stojadinović > Labels: regression, windows > Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png, > screenshot-4.png, screenshot-5-Cygwin.png, screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16165896#comment-16165896 ] Dejan Stojadinović commented on MNG-6282: - It gets even better: Eclipse MINGW terminal shows all the colors: * https://issues.apache.org/jira/secure/attachment/12887049/screenshot-6.png * https://issues.apache.org/jira/secure/attachment/12887050/screenshot-7.png I'll take a wild guess and assume that jansi switches (*passthrough*, *force*, *strip*) are not resolved as they should be in IDEA and GitBash terminal Just FYI, I'll post my detailed findings on github. > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.1 >Reporter: Dejan Stojadinović > Labels: regression, windows > Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png, > screenshot-4.png, screenshot-5-Cygwin.png, screenshot-6.png, screenshot-7.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16165521#comment-16165521 ] Hervé Boutemy commented on MNG-6282: ok, I found the right Maven invocation: {{MAVEN_OPTS="-Djansi.passthrough=true" mvn}} The {{jansi.passthrough}} property has to be defined at JVM level, not Maven level The issue with this way of doing is that you get unwanted output if you use cmd.exe or PowerShell. Then it's better IMHO to use {{MAVEN_OPTS="-Djansi.force=true" mvn}} this does not mess the output when using cmd.exe or PowerShell This mess file content when redirecting mvn output to a file: this should be a rare case I'll add more details in the JAnsi GitHub issue, since this lead me to more details on the issue analysis > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.1 >Reporter: Dejan Stojadinović > Labels: regression, windows > Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png, > screenshot-4.png, screenshot-5-Cygwin.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MNG-6282) Console output has no colors in shell (both Git Bash and Cygwin) [regression in Jansi 1.16 / Maven 3.5.1]
[ https://issues.apache.org/jira/browse/MNG-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16164182#comment-16164182 ] Hervé Boutemy commented on MNG-6282: I just had a look at JAnsi code: {{mvn -Djansi.passthrough=true}} should activate color (or {{java -Djansi.passthrough=true -ja jansi-*.jar}} with the test: notice that color is here, even if characters are completely screwed, because of encoding issues, but this is not important here) explanation: currently, when MinTTY (aka GitBash, MINGW) or Cygwin are detected, ANSI escape code are simply stripped from System.out. I don't understand why it was coded like this, since these shell natively support ANSI escape code (without Windows native code trickery that is activated with cmd.exe or PowerShell) Then {{jansi.passthrough=true}} just drop the whole detection and stripping: it just let System.out as-is, with its ANSI escape code that GitBash and Cygwin bash can interpret natively I'll add this explanation in GitHub issue tracker tonight, since all this belongs to JAnsi... > Console output has no colors in shell (both Git Bash and Cygwin) [regression > in Jansi 1.16 / Maven 3.5.1] > - > > Key: MNG-6282 > URL: https://issues.apache.org/jira/browse/MNG-6282 > Project: Maven > Issue Type: Bug > Components: Logging >Affects Versions: 3.5.1 >Reporter: Dejan Stojadinović > Labels: regression, windows > Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png, > screenshot-4.png, screenshot-5-Cygwin.png > > > See > [screenshot|https://issues.apache.org/jira/secure/attachment/12886398/screenshot-1.png] > for more details. > _*Environment:*_ > * Windows 10, 64 bit > * Oracle Java, version: *1.8.0_144* > * Git Bash shell (MINGW64), Cygwin -- This message was sent by Atlassian JIRA (v6.4.14#64029)