ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "OpenLDAP User" <openl...@dealraider.com>
Subject Re: Capture Javac output
Date Wed, 02 Mar 2005 17:30:21 GMT
You may want to look at the Record task as well. You could probably
start one of those off programmatically. This will log to a file.

> 
> Hi,
> 
> I'm compiling some java files using an Ant project:
> 
> Project project = createProject();
>  Javac javac = (Javac) project.createTask("javac");
> javac.init();
> ...
> javac.perform();
> 
> And would like to capture the output messages in a log file.
> 
> How can I do that?
> 
> Thanks,
> 
> André
>  
> __________________________________________________________________________
> Acabe com aquelas janelinhas que pulam na sua tela.
> AntiPop-up UOL - É grátis!
> http://antipopup.uol.com.br/
> 
> 
> 

-- 


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


Mime
View raw message