Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Strange characters in Eclipse Terminal(Strage characters are displayed in Eclipse Terminal when Gradle task is run)
Strange characters in Eclipse Terminal [message #1807320] Tue, 28 May 2019 07:24 Go to next message
Srinivas Aditya is currently offline Srinivas AdityaFriend
Messages: 3
Registered: April 2018
Junior Member
Hi

In the Eclipse Terminal tab, when I run Gradle task, it displays very strange characters.
Below is the sample task I ran

>gradle test --tests x.java

[u]output displayed in the terminal[/u]
s]←[m←[36D←[1B←[1m> root project←[m←[14D←[1B←[2A←[1m<←[0;32;1;0;39;1m-------------> 0% CONFIGURING [12s]←[m←[36D←[1B←[1m> root project←[m←[14D←[1
B←[2A←[1m<←[0;32;1m=============←[0;39;1m> 100% CONFIGURING [13s]←[m←[38D←[1B> IDLE←[0K←[6D←[1B←[2A←[1m<←[0;32;1m=============←[0;39;1m> 100% CON
FIGURING [13s]←[m←[38D←[2B←[2A←[1m<←[0;32;1m=============←[0;39;1m> 100% CONFIGURING [13s]←[m←[38D←[2B←[2A←[1m<←[0;32;1m=============←[0;39;1m> 1
00% CONFIGURING [13s]←[m←[38D←[2B←[2A←[1m<←[0;32;1m=============←[0;39;1m> 100% CONFIGURING [13s]←[m←[38D←[2B←[2A←[1m<←[0;32;1m=============←[0;3
9;1m> 100% CONFIGURING [13s]←[m←[38D←[2B←[2A←[1m<←[0;32;1;0;39;1m-------------> 0% EXECUTING [13s]←[m←[0K←[34D←[2B←[2A←[1m<←[0;32;1;0;39;1m------
-------> 0% EXECUTING [13s]←[m←[34D←[1B←[1m> :compileJava←[m←[14D←[1B←[2A←[1m<←[0;32;1m=←[0;39;1m------------> 14% EXECUTING [13s]←[m←[35D←[1B←[1
m> :processResources←[m←[19D←[1B←[2A←[1m<←[0;32;1m=====←[0;39;1m--------> 42% EXECUTING [13s]←[m←[35D←[1B←[1m> :compileTestJava > Resolve depende
ncies of :testCompileClasspath←[m←[66D←[1B←[2A←[1m<←[0;32;1m=====←[0;39;1m--------> 42% EXECUTING [14s]←[m←[35D←[1B←[1m> :compileTestJava > Resol...........


What are these special characters and how do I avoid them from being displayed?
Any help would be highly appreciated.

Thanks
Srinivas

Re: Strange characters in Eclipse Terminal [message #1807330 is a reply to message #1807320] Tue, 28 May 2019 08:54 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Gradle (and the Terminal Window) aren't related to JDT. These look like characters used to control colors in a real terminal window so perhaps gradle has an option not to colorize the output with control characters...

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Strange characters in Eclipse Terminal [message #1807334 is a reply to message #1807330] Tue, 28 May 2019 10:22 Go to previous message
Srinivas Aditya is currently offline Srinivas AdityaFriend
Messages: 3
Registered: April 2018
Junior Member
Hi Ed

Apologize for posting in JDT.
But, I was able to figure out with the hint you gave me.
Thank you!!!

Regards
Srinivas
Previous Topic:Imported Maven project can't find JUnit or Mockito artifacts, but builds from maven
Next Topic:Plans for Eclipse to use Java 11 compiler as the internal compiler in JDT
Goto Forum:
  


Current Time: Fri Apr 26 08:07:16 GMT 2024

Powered by FUDForum. Page generated in 0.03123 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top