From issues-return-158199-archive-asf-public=cust-asf.ponee.io@maven.apache.org Mon Dec 23 17:51:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C49CD18061A for ; Mon, 23 Dec 2019 18:51:02 +0100 (CET) Received: (qmail 56419 invoked by uid 500); 23 Dec 2019 17:51:02 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 56406 invoked by uid 99); 23 Dec 2019 17:51:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Dec 2019 17:51:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 52A36E30AA for ; Mon, 23 Dec 2019 17:51:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 21EB77808B7 for ; Mon, 23 Dec 2019 17:51:00 +0000 (UTC) Date: Mon, 23 Dec 2019 17:51:00 +0000 (UTC) From: "sdhalex (Jira)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MNG-6417) unable to print any colored text in netbeans using maven 3.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MNG-6417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17002401#comment-17002401 ] sdhalex commented on MNG-6417: ------------------------------ Excuse me, has this bug been fixed in a later version? Or need we still do the same workaround to avoid this bug now ? Thx. [~mcheung63] > unable to print any colored text in netbeans using maven 3.5.3 > -------------------------------------------------------------- > > Key: MNG-6417 > URL: https://issues.apache.org/jira/browse/MNG-6417 > Project: Maven > Issue Type: Bug > Reporter: Peter > Priority: Minor > > unable to print any colored text in netbeans using maven 3.5.3, i am using these code to test > {code:java} > @Test > public void test() throws Exception { > String ANSI_RESET = "\u001B[0m"; > String ANSI_RED = "\u001B[31m"; > System.out.print(ANSI_RED + "XX"); > System.out.flush(); > System.out.println(ANSI_RESET); > System.out.println("\033[31;1mHello\033[0m, \033[32;1;2mworld!\033[0m"); > System.out.println((char) 27 + "[31m" + "ERROR MESSAGE IN RED"); > // System.out.println((char) 27 + "[33mYELLOW"); > AnsiConsole.systemInstall(); > System.out.println(ansi().eraseScreen().render("@|red Hello|@ @|green World|@")); > System.out.println(ansi().fg(GREEN).a("Hello").fg(BLUE).a(" World").reset()); > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)