ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsolt Koppany" <zkoppanyl...@intland.com>
Subject RE: How to redirect the output of javac?
Date Sat, 28 May 2005 06:16:19 GMT
I have already a listener but it doesn't get the output of javac. I don't
start javac as on external task (I use <javac fork="false" .../> I think
that the problem is the javac writes its output to System.out.

Zsolt

>-----Original Message-----
>From: Antoine Levy-Lambert [mailto:antoine@gmx.de]
>Sent: Saturday, May 28, 2005 12:48 AM
>To: Ant Users List
>Subject: Re: How to redirect the output of javac?
>
>> --- Urspr√ľngliche Nachricht ---
>> Von: "Zsolt Koppany" <zkoppanylist@intland.com>
>> Datum: Fri, 27 May 2005 17:30:12 +0200
>>
>> Hi,
>>
>> We start ant from our application (in the same VM) and I would like to
>get
>> the output of <javac>. The ant scripts cannot be modified. How can I do
>> that?
>>
>You can develop a custom listener which will capture the output of javac,
>and start ant with a "-listener" command line option.
>
>Antoine
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message