Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 86883 invoked by uid 500); 18 Aug 2003 17:14:11 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 86838 invoked from network); 18 Aug 2003 17:14:11 -0000 Received: from mail.enator.dk (HELO odin.enator.dk) (195.249.172.53) by daedalus.apache.org with SMTP; 18 Aug 2003 17:14:10 -0000 Received: by odin.enator.dk with Internet Mail Service (5.5.2653.19) id ; Mon, 18 Aug 2003 19:14:12 +0200 Message-ID: <8B4A710A4FF0E8449E1066277C45C58E947B@Fenris> From: Morten Mortensen To: "'dev@ant.apache.org'" Subject: Task "exec" with attribute "output" Date: Mon, 18 Aug 2003 19:08:48 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, I experience some funny stuff with the "exec" task, when I set the "output" attribute. It very much appears to me as if the output-stream does not get flushed. Tried 1.5.3 and some 1.6's. (I continue to have little luck with searching the bug-database; keep getting lists a numbers out - probably a user-error - ...) I suspect, that there is a "Runtime.exec()" hidden in there somewhere below the "ExecTask". And some "Process.getOutputStream()". Instead I find lots of OS-specific stuff (like direct invocation of "cmd.exe" instead of JNI with ::ShellExecuteEx() - well, fair enough!). Where do I find the "Runtime.exec()" triggered by "ExecTask.execute()"? I would like to have a closer look. Have you ever discussed using a "SplitOutputStream" to have output from "exec" guided to both a file and Ant-std-out at the same time - to see progress while still preserving the information in a file - ? -Or a more generic mechanism attached to Ant-std-out with tasks like "split-begin" and "split-end"? Hope one of you care to answer. :-) Regards, Morten Sabroe Mortensen --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org