Writing to DOS Console for Headless RCP [message #460184] |
Fri, 15 December 2006 14:39  |
Eclipse User |
|
|
|
Hi,
I originally posted this in the eclipse.newcomer group, but I think this is
a better group for this particular post. Sorry about the double post!
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!
|
|
|
|
|
|
|
|
Re: Writing to DOS Console for Headless RCP [message #460622 is a reply to message #460189] |
Fri, 22 December 2006 14:18  |
Eclipse User |
|
|
|
I still haven't solved issue #1 below :( -consoleLog doesn't seem to work.
Ideas anyone?
"Ali Naddaf" <ali@naddaf.org> wrote in message
news:45834FE2.6050608@naddaf.org...
> Forgot to add: also check out "-consoleLog" command line.
> Ali.
>
> Ameya Barve wrote:
>> Hi,
>>
>> I originally posted this in the eclipse.newcomer group, but I think this
>> is a better group for this particular post. Sorry about the double post!
>>
>> 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.02959 seconds