Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 86518 invoked by uid 500); 1 May 2001 21:58:33 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 86353 invoked from network); 1 May 2001 21:58:30 -0000 Message-ID: <20010501201151.9231.qmail@web13404.mail.yahoo.com> Date: Tue, 1 May 2001 13:11:51 -0700 (PDT) From: Diane Holt Subject: Re: Parameters and Ant To: ant-dev@jakarta.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N --- Jean Bresse wrote: > 1) Can Ant receive parameters from its caller? Yes. The task allows for nested tags (see the user manual for details). > For example, suppose I have a list of names and I want to invoke the > same set of tasks for each name. I would want to ave one Ant process call > another one, I would want to call it n times (where n is the number of > names) and pass in as a parameter the name in question. A task was recently submitted to the list (search the ant-dev archive for "foreach"), but it works with filesets -- so if your "names" aren't files (or directories), you'll probably need to use the