Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 25759 invoked from network); 28 Jul 2004 07:26:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Jul 2004 07:26:49 -0000 Received: (qmail 89584 invoked by uid 500); 28 Jul 2004 07:26:36 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 89483 invoked by uid 500); 28 Jul 2004 07:26:35 -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 89469 invoked by uid 99); 28 Jul 2004 07:26:35 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [66.218.78.131] (HELO web40514.mail.yahoo.com) (66.218.78.131) by apache.org (qpsmtpd/0.27.1) with SMTP; Wed, 28 Jul 2004 00:26:32 -0700 Message-ID: <20040728072631.34730.qmail@web40514.mail.yahoo.com> Received: from [141.113.101.22] by web40514.mail.yahoo.com via HTTP; Wed, 28 Jul 2004 00:26:31 PDT Date: Wed, 28 Jul 2004 00:26:31 -0700 (PDT) From: Angeshwar Deepak Subject: RE: Problem-using foreach + tidy.jar To: Ant Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Thanks a lot, now it works fine. Previously I had put the before the foeach so everytime on echoing ${tidy} I got the output as ${tidy} and not the intended string. Why was it so, is it something like a variable which does not get recognised inside a loop? Anyway, thanks again. bye, with regards, Deepak. --- "Inger, Matthew" wrote: > > > dir="${build.test.report.html}/${component}"> > > > > > > > then use ${tidy} in your "run_tidy" target. > > -----Original Message----- > From: Angeshwar Deepak [mailto:angeshwar@yahoo.com] > Sent: Tuesday, July 27, 2004 3:50 AM > To: user@ant.apache.org > Subject: Problem-using foreach + tidy.jar > > > Hi, > > I have used a foreach to iterate a directory to > search > for html files and tidy them. > > The code is as follows > > ...... > ...... > > > dir="${build.test.report.html}/${component}"> > > > > > > > > > ********* ${msg} > > > > > > > > It works perfectly fine. > Except for the fact that I cant specify a relative > path for the file tidy-config.txt. i.e. I dont want > to > specify the file as c:\tidy-config.txt. But insted > as > ${tidy} or so. > > I saw an example as follows in the ant webpage > > location="C:/Programme/Internet > Explorer/iexplore.exe"/> > location="ant/docs/manual/index.html"/> > > > > > > But this does'nt work for my piece of code. > Please suggest some solution to avoid writing the > absolute or real path for the file. > > bye, > with regards, > Deepak. > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail > > --------------------------------------------------------------------- > 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 > > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org