Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 16438 invoked from network); 11 Aug 2004 09:16:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Aug 2004 09:16:43 -0000 Received: (qmail 12006 invoked by uid 500); 11 Aug 2004 09:16:30 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 11939 invoked by uid 500); 11 Aug 2004 09:16:30 -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 11925 invoked by uid 99); 11 Aug 2004 09:16:30 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_50_60,HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 11 Aug 2004 02:16:29 -0700 Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id i7B9GOvR016147 for ; Wed, 11 Aug 2004 11:16:24 +0200 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2657.72) id ; Wed, 11 Aug 2004 11:16:26 +0200 Message-ID: <879A5AD5DD0ED511891F0003473A9B560E23F48A@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: user@ant.apache.org Subject: AW: AW: AW: Checking for avaliablity of file Date: Wed, 11 Aug 2004 11:16:25 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C47F83.E0996890" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C47F83.E0996890 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable maybe your file (gu_hrd.distrib) is present (so the target is executed) but you dont read the properties (therefore they are printed as = ${name}). Jan > -----Urspr=C3=BCngliche Nachricht----- > Von: Pritesh saharey [mailto:pritesh@sqatester.com] > Gesendet am: Mittwoch, 11. August 2004 11:12 > An: user@ant.apache.org > Betreff: Re: AW: AW: Checking for avaliablity of file >=20 > is not working, the target is getting executed=20 > irrespective of file is available or not, actully from=20 > gu_hrd.distrib file=20 > i am reading 5 values which has to be written to some other=20 > file now the values which i am geeting is like this=20 >=20 > gu_hrd.distrib > -------------- > previous_value 0089 > present_value 0093 > applied_value 7101 > assigned_value 8712 > version_value 009 >=20 > and the values which are getting printed is like this > ${previous_value}-${present_value}-${assigned_value} >=20 > this means varibales are getting printed and not the values,=20 > and my build.xml file looks like this >=20 > build.xml > --------- > > > > > >=20 > > gu_hrd.distrib present > > > "${previous_value}-${present_value}-${assigned_value}";"/> > > >=20 > and Applied.dat looks like this after i run my build.xml >=20 > Applied.dat > ----------- > version_format =3D = ${previous_value}-${present_value}-${assigned_value} >=20 > which should look like this > version_format =3D 0089-0093-8712 >=20 > any help will be highly apperitieted >=20 > pritu >=20 >=20 >=20 >=20 > --- Jan.Materne@rzf.fin-nrw.de wrote: > > > > > >=20 > > gu_hrd.distrib present > >=20 >=20 > Jan >=20 >=20 >=20 > > -----Urspr=C3=BCngliche Nachricht----- > > Von: Pritesh saharey [mailto:pritesh@sqatester.com] > > Gesendet am: Mittwoch, 11. August 2004 09:03 > > An: user@ant.apache.org > > Betreff: Re: AW: Checking for avaliablity of file > >=20 > > Thanks Jan for your quick reply but I already used=20 > > its not working, please suggest some other solution. > >=20 > > pritu > >=20 > >=20 > >=20 > >=20 > > --- Jan.Materne@rzf.fin-nrw.de wrote: > > ? > >=20 > > Jan > >=20 > > > -----Urspr=C3=BCngliche Nachricht----- > > > Von: Pritesh saharey [mailto:pritesh@sqatester.com] > > > Gesendet am: Mittwoch, 11. August 2004 08:35 > > > An: user@ant.apache.org > > > Betreff: Checking for avaliablity of file > > >=20 > > > Hi All, > > > I want to check for a file whether it exsist or not in a=20 > > > particular path how can it be checked, suppose there is a file at > > > /home/pritu/verify/gu_hrd.distrib and in my build.xml file=20 > > > there is target which is dependent=20 > > > on the avaliability > > > of this gu_hrd.distrib file, so i wanted to check that untill=20 > > > and unless this file exsist at its particular location target=20 > > > move-along should=20 > > > not get executed and build should stop with message that=20 > > > "gu_hrd.distrib file does not exsist at /home/pritu/verify" > > > can anyone help me out? > > >=20 > > > pritu > > >=20 > > >=20 > > >=20 > > >=20 > > > _____________________________________________________________ > > > Join SQAtester.com Community --->=20 > > > http://www.sqatester.com/testersarea/joinus.htm > > >=20 > > >=20 > >=20 > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > > For additional commands, e-mail: user-help@ant.apache.org > > >=20 > >=20 > >=20 > > _____________________________________________________________ > > Join SQAtester.com Community --->=20 > http://www.sqatester.com/testersarea/joinus.htm >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 >=20 > _____________________________________________________________ > Join SQAtester.com Community --->=20 http://www.sqatester.com/testersarea/joinus.htm --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ------_=_NextPart_001_01C47F83.E0996890--