Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 91470 invoked from network); 30 Jan 2003 15:19:44 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 30 Jan 2003 15:19:44 -0000 Received: (qmail 21115 invoked by uid 97); 30 Jan 2003 15:21:11 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@nagoya.betaversion.org Received: (qmail 21107 invoked from network); 30 Jan 2003 15:21:10 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 30 Jan 2003 15:21:10 -0000 Received: (qmail 83743 invoked by uid 500); 30 Jan 2003 15:17:33 -0000 Mailing-List: contact ant-dev-help@jakarta.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 ant-dev@jakarta.apache.org Received: (qmail 83707 invoked from network); 30 Jan 2003 15:17:32 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 30 Jan 2003 15:17:32 -0000 Received: (qmail 20926 invoked by uid 50); 30 Jan 2003 15:18:58 -0000 Date: 30 Jan 2003 15:18:58 -0000 Message-ID: <20030130151858.20925.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: ant-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 16555] - Java task used with output attribute looses last output line if the line does not end with \r\n. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16555 Java task used with output attribute looses last output line if the line does not end with \r\n. conor@cortexebusiness.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |1.6 ------- Additional Comments From conor@cortexebusiness.com.au 2003-01-30 15:18 ------- I've fixed this in HEAD (Ant 1.6) for now. The new code will flush the buffers at the end of a java task and them propagate whether a end-of-line marker is required. I'm not sure yet whether to include for 1.5.2 due to the extensive nature of the fix. For 1.5.1, a workaround is to fork the java task - this gives the correct output. One alternative for 1.5.2 would be to just flush the output but leave out the eol indication. This will have the effect of adding an eol to the last line --------------------------------------------------------------------- To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: ant-dev-help@jakarta.apache.org