ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Can't see build file output in Console view, using -logger option
Date Mon, 22 May 2006 16:04:13 GMT
Asaf Mesika wrote:
>> -----Original Message-----
>> From: Steve Loughran []
>> 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
>> 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:
For additional commands, e-mail:

View raw message