Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 46444 invoked by uid 500); 10 Jul 2003 21:21:29 -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 46316 invoked from network); 10 Jul 2003 21:21:28 -0000 Received: from rwcrmhc12.comcast.net (216.148.227.85) by daedalus.apache.org with SMTP; 10 Jul 2003 21:21:28 -0000 Received: from nicki.visi.com (c-24-118-22-16.mn.client2.attbi.com[24.118.22.16](untrusted sender)) by attbi.com (rwcrmhc12) with SMTP id <2003071021213301400638ice>; Thu, 10 Jul 2003 21:21:33 +0000 Message-Id: <5.2.0.9.2.20030710161758.03ba7a30@shell.visi.com> X-Sender: hoju@shell.visi.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Thu, 10 Jul 2003 16:20:41 -0500 To: "Ant Users List" From: Jacob Kjome Subject: RE: Foreach and passing parameters In-Reply-To: <25B3F18B89FFD411BCCB00508BCF607C0930D1D0@zcard04e.ca.norte l.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Note that I did , meaning that this was just a shorthand, not literal. I was trying to be brief. Basically, you'd do whatever foreach stuff you need and then also pass the individual 's for other stuff you want to pass to a given target. Jake At 04:31 PM 7/10/2003 -0400, you wrote: >But this way it only passes the "myvalue" to the target without the file >name in the directory it iterates to. > >Louis > >-----Original Message----- >From: Jacob Kjome [mailto:hoju@visi.com] >Sent: July 10, 2003 3:19 PM >To: Ant Users List >Subject: Re: Foreach and passing parameters > > > >How about... > > > > > >Jake > >At 02:54 PM 7/10/2003 -0400, you wrote: > >Hi, I have a foreach tasks as the following: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >The foreach task iterates on each idl file in the directory and passes > >each file name by the param "file" to the target. My question is, if I > >want to pass additional parameters to the target, what should I do? > > > > > >Thanks for your help! > > > > > >Louis > > >--------------------------------------------------------------------- >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