| Writing to DOS Console for Headless RCP [message #184615] | 
Fri, 15 December 2006 13:27  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi, 
 
I have to create a RCP Application which when invoked from the  
command-line with a "-headless" argument, doesn't create the Workbench and  
simply writes out a few lines to the system console and exits. 
 
Questions: 
(1) When I invoke my RCP from a DOS command shell, it seems to create a  
NEW console to which the System.out.println() writes to. I want it to  
write to the same command shell used to launch the RCP by the  
command-line. How can I do this? 
 
(2) My RCP has a splash screen which I want to hide when the user passes  
in "-headless" as a command-line argument. Is there any way to do this? 
 
Thx!
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.11122 seconds