You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "albilu (via GitHub)" <gi...@apache.org> on 2023/07/17 15:47:31 UTC

[GitHub] [netbeans] albilu opened a new issue, #6210: No Maven output color in netbeans consoles

albilu opened a new issue, #6210:
URL: https://github.com/apache/netbeans/issues/6210

   ### Apache NetBeans version
   
   Apache NetBeans 18
   
   ### What happened
   
   Unlike all other main IDES Netbeans is unable to print Maven logs with color.
   
   Netbeans:
   ![image](https://github.com/apache/netbeans/assets/35330562/d8432dcd-c04b-4a07-b1a4-d3ea65dc4c7d)
   
   
   IntelliJ IDEA:
   ![image](https://github.com/apache/netbeans/assets/35330562/9a4f0100-a732-4bda-825f-e5020c3b2977)
   
   
   
   
   ### How to reproduce
   
   Run a Maven project in Netbeans. 
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows/Linux
   
   ### JDK
   
   Any
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   Related issues:
   https://github.com/fusesource/jansi/issues/87
   https://peter.quantr.hk/2018/12/solved-the-root-cause-why-netbeans-cant-print-colored-text-using-latest-maven/#page-content
   
   
   ### Are you willing to submit a pull request?
   
   No


-- 
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: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #6210: No Maven output color in netbeans consoles

Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #6210:
URL: https://github.com/apache/netbeans/issues/6210#issuecomment-1638515008

   The workaround is given in the Jansi issue you linked, and also the trade off that introduces (eg. other aspects of output parsing no longer work).
   
   Moving this to a feature request.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #6210: No Maven output color in netbeans consoles

Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #6210:
URL: https://github.com/apache/netbeans/issues/6210#issuecomment-1643504335

   @Chris2011 well, we could look at an option to run any external process in the terminal rather than the output window - ie. ant and npm, but not git (while using jgit).


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] Chris2011 commented on issue #6210: No Maven output color in netbeans consoles

Posted by "Chris2011 (via GitHub)" <gi...@apache.org>.
Chris2011 commented on issue #6210:
URL: https://github.com/apache/netbeans/issues/6210#issuecomment-1639642700

   Then we can also have an alternative output panel for git, ant, npm, etc... so I would like to let them as it is, because we already have more than just maven.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] Chris2011 commented on issue #6210: No Maven output color in netbeans consoles

Posted by "Chris2011 (via GitHub)" <gi...@apache.org>.
Chris2011 commented on issue #6210:
URL: https://github.com/apache/netbeans/issues/6210#issuecomment-1734409896

   It is somehow hardcoded that if windows it searches for pty smth like that and if this is not installed like cygwin, you got an info. WSL is not working like pty it is another implementation. I dunno how hard it will be for WSL but if we can reuse some other tools like pty4j or jediterm or whatever, that could be good.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #6210: No Maven output color in netbeans consoles

Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #6210:
URL: https://github.com/apache/netbeans/issues/6210#issuecomment-1643567721

   @Chris2011 of course, and for macOS on Arm for that matter. Having a (non-default) option isn't that much of a rabbithole, if someone wanted to work on it.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] asbachb commented on issue #6210: No Maven output color in netbeans consoles

Posted by "asbachb (via GitHub)" <gi...@apache.org>.
asbachb commented on issue #6210:
URL: https://github.com/apache/netbeans/issues/6210#issuecomment-1639483079

   I wonder if it would be useful to have an alternative to the current output panel. For `mvnd` the output is not optimal as well. When you launch it from the embedded terminal it looks quite good but lacks features like folding (which I actually never used).
   Maybe we could introduce an option to execute maven on the terminal?


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] moquinr commented on issue #6210: No Maven output color in netbeans consoles

Posted by "moquinr (via GitHub)" <gi...@apache.org>.
moquinr commented on issue #6210:
URL: https://github.com/apache/netbeans/issues/6210#issuecomment-1717936385

   > @neilcsmith-net but then we need real implementation of native terminals also for Windows users w/o using cygwin or anything else. And this is another rabbithole. IMHO.
   
   Why can't it use a wsl 2 terminal if it's enabled, like Docker Desktop does... then you have a full linux shell available... not sure if the new Windows Terminal support is a possibility...


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] Chris2011 commented on issue #6210: No Maven output color in netbeans consoles

Posted by "Chris2011 (via GitHub)" <gi...@apache.org>.
Chris2011 commented on issue #6210:
URL: https://github.com/apache/netbeans/issues/6210#issuecomment-1734410306

   We don't need to reinvent the wheel again, luckily. But someone needs to start on it.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] No Maven output color in netbeans consoles [netbeans]

Posted by "rrangelo (via GitHub)" <gi...@apache.org>.
rrangelo commented on issue #6210:
URL: https://github.com/apache/netbeans/issues/6210#issuecomment-1813518758

   Hi all!
   
   I recommend use: [JLine](https://github.com/jline/jline3). It's FOSS and is used by Apache Maven.
   
   I was looking info about Pty4J and I asked to AI create a comparison table. I share them. I hope it can be help you.
   
   ![image](https://github.com/apache/netbeans/assets/68767628/531b4732-c199-4876-99c9-d05100a34de7)
   ![image](https://github.com/apache/netbeans/assets/68767628/fb505969-adfb-4802-a12a-9c0cd4696878)
   ![image](https://github.com/apache/netbeans/assets/68767628/94ca8fc9-0966-4130-9951-a825160f6583)
   


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] mbien commented on issue #6210: No Maven output color in netbeans consoles

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #6210:
URL: https://github.com/apache/netbeans/issues/6210#issuecomment-1640068916

   the folding is just a UI gimmick. The reason it is there is because NB has to compute the context for links in many situations. If you doing that already you may as well add the folding which is a low hanging fruit once you parse the output.
   
   mvnd integration is fairly rudimentary. Partially because the project itself hasn't stabilized yet.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] asbachb commented on issue #6210: No Maven output color in netbeans consoles

Posted by "asbachb (via GitHub)" <gi...@apache.org>.
asbachb commented on issue #6210:
URL: https://github.com/apache/netbeans/issues/6210#issuecomment-1643784981

   I wonder if it's an option to ship with a java terminal emulator like https://github.com/JetBrains/jediterm
   


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #6210: No Maven output color in netbeans consoles

Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #6210:
URL: https://github.com/apache/netbeans/issues/6210#issuecomment-1643896466

   The interesting part of that might be https://github.com/JetBrains/pty4j


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] Chris2011 commented on issue #6210: No Maven output color in netbeans consoles

Posted by "Chris2011 (via GitHub)" <gi...@apache.org>.
Chris2011 commented on issue #6210:
URL: https://github.com/apache/netbeans/issues/6210#issuecomment-1638478968

   Afaik there is also red for warnings which seems incorrect for me. Or maybe it was ant. But afaik red should be errornous stuff and maybe yellow warnings, etc.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] mbien commented on issue #6210: No Maven output color in netbeans consoles

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #6210:
URL: https://github.com/apache/netbeans/issues/6210#issuecomment-1638622608

   I am not planning to implement this, adding https://github.com/apache/netbeans/labels/Contribution%20welcome label.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] Chris2011 commented on issue #6210: No Maven output color in netbeans consoles

Posted by "Chris2011 (via GitHub)" <gi...@apache.org>.
Chris2011 commented on issue #6210:
URL: https://github.com/apache/netbeans/issues/6210#issuecomment-1643515811

   @neilcsmith-net but then we need real implementation of native terminals also for Windows users w/o using cygwin or anything else. And this is another rabbithole. IMHO.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] Chris2011 commented on issue #6210: No Maven output color in netbeans consoles

Posted by "Chris2011 (via GitHub)" <gi...@apache.org>.
Chris2011 commented on issue #6210:
URL: https://github.com/apache/netbeans/issues/6210#issuecomment-1643872801

   > I wonder if it's an option to ship with a java terminal emulator like https://github.com/JetBrains/jediterm
   
   Ui that looks interesting :D. Maybe will have a look later. Another project......


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists