You can see the whole Ant command line invocation within Eclipse by 
opening the Debug view and right clicking on the Ant 
process>Properties>Process Information>Command Line

And yes, we have a logger and an input handler....no surprises there.

Darins




Steve Loughran <[EMAIL PROTECTED]> 
05/22/2006 09:04 AM
Please respond to
"Ant Users List"


To
Ant Users List <[email protected]>
cc

Subject
Re: Can't see build file output in Console view, using -logger option






Asaf Mesika wrote:
>> -----Original Message-----
>> From: Steve Loughran [mailto:[EMAIL PROTECTED]
>> Sent: Monday, May 22, 2006 5:41 PM
>> To: Ant Users List
>> Subject: Re: Can't see build file output in Console view, using -logger
>> option
>>
>> Asaf Mesika wrote:
>>> Hi,
>>>
>>> I'm using Ant from within Eclipse.
>>>
>>> I'm developing a logger of my own for Ant, and I got stuck in early
>> stage:
>>> Running the default logger.
>>>
>>> What did I do?
>>> ---------------------
>>> I added to the arguments of Run Ant Configuration the following line:
>>>   -logger
>>>
>> org.apache.tools.ant.DefaultLogger<
http://ant.apache.org/manual/listeners.
>> html#DefaultLogger>
>>>
>>>  From some reason, I can't see any output.
>>> If I remove this argument, everything works out fine.
>>> If I'm running it from command line, and not from WSAD, the output is
>> shown
>>> properly.
>>>
>>> Someone has any idea why?
>>>
>> Presumably Eclipse's own logger and yours are incompatible. Ant only
> 
> [Asaf] Incompatible? I've used Ant's default logger.
>> allows one logger, multiple listeners. Eclipse needs a logger to show
>> the output.
> 
> [Asaf] I didn't understand that last one: Eclipse needs a logger.
> Eclipse has a console view, through which it displays the error and 
output
> stream.

yes, and presumably its sneaking in its own -logger command to redirect 
all output in, the same way it (probably) provides its own input handler 
via -noinput.

To put it differently: How do you think eclipse is routing input to and 
from ant?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to