From user-return-56992-apmail-ant-user-archive=ant.apache.org@ant.apache.org Thu Jul 06 06:03:45 2006 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 35676 invoked from network); 6 Jul 2006 06:03:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jul 2006 06:03:45 -0000 Received: (qmail 76054 invoked by uid 500); 6 Jul 2006 06:03:41 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 76022 invoked by uid 500); 6 Jul 2006 06:03:40 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 76011 invoked by uid 99); 6 Jul 2006 06:03:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 23:03:40 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 23:03:40 -0700 Received: from z011100.bk.fin.local (z011104.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.13.7/8.13.7) with ESMTP id k6663Gn7024502 for ; Thu, 6 Jul 2006 08:03:16 +0200 Received: from z011134.bk.fin.local ([130.11.7.134]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Thu, 6 Jul 2006 08:03:17 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: FixCRLF and Concat classes question Date: Thu, 6 Jul 2006 08:03:17 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FixCRLF and Concat classes question Thread-Index: AcagddFNgyks98DdTE2wiBME0srtqwAS+QfQ From: To: X-OriginalArrivalTime: 06 Jul 2006 06:03:17.0594 (UTC) FILETIME=[E01FA3A0:01C6A0C1] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N line.separator is set by the JVM. Why you dont use "eol" attribute? Jan=20 >-----Urspr=FCngliche Nachricht----- >Von: Alex Egg [mailto:eggie5@gmail.com]=20 >Gesendet: Mittwoch, 5. Juli 2006 22:58 >An: user@ant.apache.org >Betreff: FixCRLF and Concat classes question > >Hi, > >I notice that the Concat class constructor called a reset=20 >method which reads a system property called line.separator, like this: > > public Concat () { > reset (); > } > > /** > * Reset state to default. > */ > public void reset () { > append =3D false; > forceOverwrite =3D = true; > destinationFile=20 > =3D null; > encoding =3D null; > outputEncoding =3D = null; > fixLastLine =3D false; > filterChains =3D null; > footer =3D null; > header =3D null; > binary =3D false; > outputWriter =3D null; > textBuffer =3D null; > eolString =3D System=20 >.getProperty >("line.separator"); > rc =3D null; > } > > >Now, when I run my ant build, I specify the property via the=20 >command line like, -Dline.separator=3D\r\n. However, the file I=20 >generate with Concat only uses LF's as line breaks? Why is=20 >this so, and how can I specify the line breaks I want Concat=20 >to use? Does anybody have expiring specif tying line breaks=20 >with Concat, and did it work? > >Thanks > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org