Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 58472 invoked from network); 19 Aug 2004 12:15:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Aug 2004 12:15:13 -0000 Received: (qmail 95100 invoked by uid 500); 19 Aug 2004 12:14:59 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 95054 invoked by uid 500); 19 Aug 2004 12:14:59 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 95040 invoked by uid 99); 19 Aug 2004 12:14:59 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.223.178.26] (HELO maillnx-us311.fmr.com) (192.223.178.26) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 19 Aug 2004 05:14:55 -0700 Received: from MSGMMKSM01WIN.DMN1.FMR.COM (MSGMMKSM01WIN.dmn1.fmr.com [10.33.139.32] (may be forged)) by maillnx-us311.fmr.com (Switch-3.1.2/Switch-3.1.0) with SMTP id i7JCErEm012928 for ; Thu, 19 Aug 2004 08:14:53 -0400 Received: from virmmk111nts.fmr.com (172.25.106.96) by MSGMMKSM01WIN.DMN1.FMR.COM (Sigaba Gateway v3.83) with ESMTP id 229847; Thu, 19 Aug 2004 08:14:53 -0400 Received: from MSGMMKCLE2WIN.fmr.com ([10.33.152.61]) by MSGMMKIM02WIN.DMN1.FMR.COM with Microsoft SMTPSVC(5.0.2195.6713); Thu, 19 Aug 2004 08:14:52 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0 Content-Class: urn:content-classes:message Subject: RE: Loadfile not loading file MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 19 Aug 2004 08:14:52 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Loadfile not loading file Thread-Index: AcSFaq2wRMMrY7RMQSu3um3gvGihTgAekxQA From: "Dick, Brian E." To: "Ant Users List" X-OriginalArrivalTime: 19 Aug 2004 12:14:52.0429 (UTC) FILETIME=[2180FBD0:01C485E6] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The property gets set only if the file contains the string. The loadfile task doc doesn't explicitly state this behavior. Hopefully, it will continue to work this way. -----Original Message----- From: Matt Benson [mailto:gudnabrsam@yahoo.com]=20 Sent: Wednesday, August 18, 2004 5:31 PM To: Ant Users List Subject: RE: Loadfile not loading file Sorry, I was thinking the property would be set even if file were empty (or filtered so that it appeared empty). -Matt --- "Dick, Brian E." wrote: > Fortunately, I want to fail the first time the > property is set. It's > immutability is mute. >=20 > -----Original Message----- > From: Matt Benson [mailto:gudnabrsam@yahoo.com]=20 > Sent: Wednesday, August 18, 2004 5:19 PM > To: Ant Users List > Subject: RE: Loadfile not loading file >=20 >=20 > I was about to write back and suggest something like > this. However, be careful using . It > looks > like property immutability will stop you from > detecting the error condition in any but the first > file. Unfortunately (and I hate temp files worse > than > almost anything in programming) I would recommend > using two tasks, one to display to the > console and the other to filter to a temp file > instead > of a property. The other option is to "pollute" > your > properties by using a discrete property name > including > @{f} for each list value. >=20 > -Matt >=20 > --- "Dick, Brian E." wrote: >=20 > > This is my work around. The downside is that I > have > > to wait until the > > exe completes before I see the output. I would > > rather see the output in > > real time. If there is a redirector option to tee > > output in 1.6.3, I can > > wait. > >=20 > > > > > > > > > output=3D"lamexe.log"/> > > > > > > > > > > > > > srcfile=3D"lamexe.log"> > > > > > > > > > > > > > > > > > > > >=20 > > -----Original Message----- > > From: Matt Benson [mailto:gudnabrsam@yahoo.com]=20 > > Sent: Wednesday, August 18, 2004 4:59 PM > > To: Ant Users List > > Subject: RE: Loadfile not loading file > >=20 > >=20 > > I can see about adding attributes to keep the log > > output, but I'm at a loss with 1.6.2, then, unless > > you > > want to write some custom code. > >=20 > > -Matt > >=20 > > --- "Dick, Brian E." wrote: > >=20 > > > The output file can contain good stuff, too. And > I > > > want to see it in the > > > log. > > >=20 > > > -----Original Message----- > > > From: Matt Benson [mailto:gudnabrsam@yahoo.com]=20 > > > Sent: Wednesday, August 18, 2004 4:45 PM > > > To: Ant Users List > > > Subject: RE: Loadfile not loading file > > >=20 > > >=20 > > > --- "Dick, Brian E." wrote: > > >=20 > > > > Thanks for . It is definitely better than > > > > . > > > >=20 > > > > I can't wrap the for with a single > > > action=3D"start"> and > > > > Pair. I'm running an in the body > > that > > > > doesn't set a return code on failure. I need > to > > > scan > > > > the scan the output of each iteration of the > > > > > > > to check for an ERROR string. > > > >=20 > > >=20 > > > hmmm... what about: > > >=20 > > > > > > > > > > > > > > > > > > > > createemptyfiles=3D"false"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >=20 > > > -Matt > > >=20 > > >=20 > > > =09 > > > __________________________________ > > > Do you Yahoo!? > > > Yahoo! Mail - 50x more storage than other > > providers! > > > http://promotions.yahoo.com/new_mail > > >=20 > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > > user-unsubscribe@ant.apache.org > > > For additional commands, e-mail: > > > user-help@ant.apache.org > > >=20 > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > > user-unsubscribe@ant.apache.org > > > For additional commands, e-mail: > > > user-help@ant.apache.org > > >=20 > > >=20 > >=20 > >=20 > >=20 > > =09 > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - 50x more storage than other > providers! > > http://promotions.yahoo.com/new_mail > >=20 > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > user-unsubscribe@ant.apache.org > > For additional commands, e-mail: > > user-help@ant.apache.org > >=20 > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > user-unsubscribe@ant.apache.org > > For additional commands, e-mail: > > user-help@ant.apache.org > >=20 > >=20 >=20 >=20 >=20 > =09 > __________________________________ > Do you Yahoo!? > Yahoo! Mail is new and improved - Check it out! > http://promotions.yahoo.com/new_mail >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org >=20 =3D=3D=3D message truncated =3D=3D=3D =09 __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org