IntelliJ Java IDE
The moose likes IDEs, Version Control and other tools and the fly likes Console output from a Eclipse plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Console output from a Eclipse plugin" Watch "Console output from a Eclipse plugin" New topic
Author

Console output from a Eclipse plugin

Jay Damon
Ranch Hand

Joined: Jul 31, 2001
Posts: 274
I have been working on a plugin for Eclipse and have noticed that, when deployed, the System.out.println statements in the plugin produce no output. Why is this? And, can the output of these statements be displayed in a console view?
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8845

Is it possible to log print statements to some file?


Groovy
Frank Budinsky
Author
Greenhorn

Joined: Sep 08, 2003
Posts: 28
If you redirect the output when you launch eclipse the output isn't discarded. I launch eclipse like this:
eclipse > mylog.txt 2>&1
Frank.


Lead author of <a href="http://www.amazon.com/exec/obidos/ASIN/0131425420/qid%3D1064321221/sr%3D11-1/ref%3Dsr%5F11%5F1/102-1364017-8080960" target="_blank" rel="nofollow">Eclipse Modeling Framework</a>.
Jay Damon
Ranch Hand

Joined: Jul 31, 2001
Posts: 274
Actually, I want to print to the Console, not a file. I was hoping to use System.out.println to provide feedback to the user as to what happened, i.e. what files were modified, similar to the type of feedback one gets when starting the test environment (I am actually using WSAD) or running Ant.
Frank Budinsky
Author
Greenhorn

Joined: Sep 08, 2003
Posts: 28
Jay, see the thread titled: Eclipse console output.
Frank.
 
IntelliJ Java IDE
 
subject: Console output from a Eclipse plugin
 
Threads others viewed
Special characters parsing in Java
WebLogicServer n compiling servlets n jsp
Junits monitoring
Directing Ant output to Eclipse console
Eclipse / MyEclipse - Logging console output ?
developer file tools