Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » redirect eclipse console to file
redirect eclipse console to file [message #217932] Tue, 26 June 2007 02:58 Go to next message
Eclipse UserFriend
Originally posted by: go.away.com

hi-

i made a batch file called rundebug.bat
this is what i start eclipse with.

i'd like it to go to a file in the c:/eclipse directory.
something like console.txt

i am using windows xp.

can someone please share the line in the batch
file that will work. i tried a couple and
it starts to capture information but not the actual
println or print statements from my groovy scripting
program.

i am recursing lots of directories and the console
buffer gets too full. i need to check for certain error
messages using a find next feature on a text editor.
so i can go to the error message, read what file
and directory, and go preview what went wrong.

i am quite certain the program works. i just cant
redirect! it was ok for 83 files [console] but now were talking
800 :-)

it would be a huge help.

thanks,
jim
Re: redirect eclipse console to file [message #217947 is a reply to message #217932] Tue, 26 June 2007 03:05 Go to previous messageGo to next message
Mark Dexter is currently offline Mark DexterFriend
Messages: 324
Registered: July 2009
Senior Member
3rdshiftcoder wrote:
> hi-
>
> i made a batch file called rundebug.bat
> this is what i start eclipse with.
>
> i'd like it to go to a file in the c:/eclipse directory.
> something like console.txt
>
> i am using windows xp.
>
> can someone please share the line in the batch
> file that will work. i tried a couple and
> it starts to capture information but not the actual
> println or print statements from my groovy scripting
> program.
>
> i am recursing lots of directories and the console
> buffer gets too full. i need to check for certain error
> messages using a find next feature on a text editor.
> so i can go to the error message, read what file
> and directory, and go preview what went wrong.
>
> i am quite certain the program works. i just cant
> redirect! it was ok for 83 files [console] but now were talking
> 800 :-)
>
> it would be a huge help.
>
> thanks,
> jim
>
>
I don't know if you can re-direct Eclipse output. Is this a Java
program? If so, perhaps you should try running it from the CMD prompt in
Windows and then re-direct the output there the normal way (>
file.out). Hope this helps. Mark Dexter
Re: redirect eclipse console to file [message #217954 is a reply to message #217947] Tue, 26 June 2007 03:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: go.away.com

>>
>>
> I don't know if you can re-direct Eclipse output. Is this a Java program?
> If so, perhaps you should try running it from the CMD prompt in Windows
> and then re-direct the output there the normal way (> file.out). Hope this
> helps. Mark Dexter

mark -
eclipse thinks of everything .
i just found it.
it is under common tab in the launch configuration window.

thanks very much,
jim
Re: redirect eclipse console to file [message #987360 is a reply to message #217932] Mon, 26 November 2012 09:56 Go to previous message
chandan singh is currently offline chandan singhFriend
Messages: 2
Registered: November 2012
Junior Member
Hi,

I understood how to redirect the console text into a log/text file under eclipse,but I want to read a file and print it on eclipse console window

How is it possible..Please help!!
Previous Topic:Accidentally deleted files
Next Topic:Use UISynchronize via Depenency Injection
Goto Forum:
  


Current Time: Sun Apr 11 19:59:50 GMT 2021

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

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

Back to the top