maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Boutemy (JIRA) <j...@apache.org>
Subject [jira] [Commented] (MNG-6188) Console color not properly reset when interrupting build process
Date Sat, 18 Mar 2017 12:34:41 GMT

    [ https://issues.apache.org/jira/browse/MNG-6188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931207#comment-15931207
] 

Hervé Boutemy commented on MNG-6188:
------------------------------------

will probably require a ShutdownHook: http://docs.oracle.com/javase/6/docs/api/java/lang/Runtime.html#addShutdownHook(java.lang.Thread)
this hook will require to be called before uninstalling Jansi (if Jansi is deinstalled), and
write a "reset" ANSI code (if ANSI was enabled)

first, we'll need to make this issue reproducible, since working blindly will probably lead
to pseudo fix...

> Console color not properly reset when interrupting build process
> ----------------------------------------------------------------
>
>                 Key: MNG-6188
>                 URL: https://issues.apache.org/jira/browse/MNG-6188
>             Project: Maven
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 3.5.0-alpha-1
>            Reporter: Robert Scholte
>             Fix For: 3.5.0-candidate
>
>         Attachments: jansi-bug.PNG
>
>
> When interrupting the build process for some reason, it could happen that console has
still a color assigned.
> For a possible result, see the attachment (most of mint should have been white)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message