There are some builtin implementations of redirectors. Follow the manual of <java> to the redirectors manual page, take the names and search the codebase.
Jan > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 27. März 2008 08:21 > An: user@ant.apache.org > Betreff: RE: Using ant in java > > Is there any working example of it? > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2008 9:25 AM > To: user@ant.apache.org > Subject: AW: Using ant in java > > You could implement a Redirector for catching the output into > your GUI. > > Jan > > > ________________________________ > > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 25. März 2008 11:44 > An: user@ant.apache.org > Betreff: Using ant in java > > > > Hello everybody! > > I'm using ant in java to launch java application, to > compile sources and to pack the result in jar file. > > How can I catch the result of launching java > application, for example? I need to show it on UI. > I have found setError, setOutput methods with the File > parameter, but I'm not sure it's the best solution to look > for two files, if they are grow. > > Regards, > Denis. > > Visit our website at http://www.ubs.com > > This message contains confidential information and is intended only > for the individual named. If you are not the named addressee you > should not disseminate, distribute or copy this e-mail. Please > notify the sender immediately by e-mail if you have received this > e-mail by mistake and delete this e-mail from your system. > > E-mails are not encrypted and cannot be guaranteed to be secure or > error-free as information could be intercepted, corrupted, lost, > destroyed, arrive late or incomplete, or contain viruses. The sender > therefore does not accept liability for any errors or > omissions in the > contents of this message which arise as a result of e-mail > transmission. > If verification is required please request a hard-copy version. This > message is provided for informational purposes and should not be > construed as a solicitation or offer to buy or sell any securities > or related financial instruments. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]