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.