ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Using ANT from Java application
Date Wed, 26 Mar 2008 10:38:14 GMT
Denis.Sitnitsa@ubs.com wrote:
> Hi, all!
> 
> I'm using ant tasks from my application:
> 
> 1. Java task. It run's java application that generates java source file, 
> according to xsd files.
> 2. Javac task. It compiles generated source files.
> 3. Jar task. Packes the result.
> 
> The question is:
> 
> How can I catch up the output (including error stream) of this tasks and 
> show it on my UI?


I would point you at the 'embedded' example from Ant in Action

http://antbook.cvs.sf.net/antbook/examples/sections/extending/ch18_extras/embed

that hooks up the IO channels.

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


Mime
View raw message