Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 6932 invoked by uid 500); 26 Apr 2001 17:55:43 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 6920 invoked from network); 26 Apr 2001 17:55:43 -0000 Subject: Calling ant on every directory in a fileset Date: Thu, 26 Apr 2001 12:54:58 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: <3B2485FD3A5C2A418C6BDD2F43E02413016E4C@dmi-exch.demandsolutions.com> X-MS-Has-Attach: X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 X-MS-TNEF-Correlator: content-class: urn:content-classes:message Thread-Topic: Symbolic Links recursion Thread-Index: AcDOaJaG21PaNCY5TamDgbH14ST71QAENxTg From: "Chris Greenlee" To: X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I'm trying to write an ant build file to invoke another ant build file on each directory in a certain directory. For example, if this were my directory structure: /a /a/b /a/c /a/d I would want to invoke an ant script to perform a task on /a/b, /a/c, and /a/d. I don't know ahead of time what directories will exist in /a, so I can't hard code them. I attempted to use "execon" like this: This fails, however, because execon places a space after the arg line. =20 Does anyone have any suggestions? Cheers, Chris Greenlee