Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 10244 invoked from network); 26 Dec 2002 15:19:22 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 26 Dec 2002 15:19:22 -0000 Received: (qmail 28639 invoked by uid 97); 26 Dec 2002 15:20:23 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 28623 invoked by uid 97); 26 Dec 2002 15:20:22 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 28611 invoked by uid 98); 26 Dec 2002 15:20:21 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <466F9A32C520F546A6FC9D7361CF9AB754366D@PKDWB01C.ad.sprint.com> From: "Buonassisi, Vincent [Contractor]" To: "'Ant Users List'" Subject: RE: make the echo task to print in a new line Date: Thu, 26 Dec 2002 09:18:37 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.89) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You could use the built in property ${line.separator} (this comes from the set of java system properties): or, you could create your own property for newline: hope this helps. cheers, vince -----Original Message----- From: Yaron Ruckenstein [mailto:yaron.ruckenstein@mobilitec.com] Sent: Thursday, December 26, 2002 7:45 AM To: Ant-User Subject: make the echo task to print in a new line Hi, I want to print a report to a file, and print each entry of it in a new line. I know how to do it like this: But this way is not elegant, and the middle echo must be in the begging of the line, and this breaks the indentation (anyway my xml editor objects to it). Is there any way a new line can be inserted ? (same as a unix echo where every call prints to a new line). Thanks in advance, Yaron -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: