Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 92870 invoked from network); 9 Aug 2006 06:47:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Aug 2006 06:47:35 -0000 Received: (qmail 55252 invoked by uid 500); 9 Aug 2006 06:47:31 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 54983 invoked by uid 500); 9 Aug 2006 06:47:30 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 54972 invoked by uid 99); 9 Aug 2006 06:47:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 23:47:30 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of davisjf@gmail.com designates 72.14.204.224 as permitted sender) Received: from [72.14.204.224] (HELO qb-out-0506.google.com) (72.14.204.224) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 23:47:28 -0700 Received: by qb-out-0506.google.com with SMTP id q12so698245qbq for ; Tue, 08 Aug 2006 23:47:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=driOEswAZFDQ9PKbt12MJQRbf6CKfCofk2AhdBQcVI+d8IOE9EnS+jEkrmgRsaV0jl6DQNH1fJxg4nz9EmsyIVkjc05qpFZJEzxz3CvN/7DPrPlljJQw68UISa9RNhEoCDwu9p7CamODl2gtMyHkfXx5l+1xcmZYJA+a+3zJ7Ms= Received: by 10.78.170.17 with SMTP id s17mr175578hue; Tue, 08 Aug 2006 23:47:07 -0700 (PDT) Received: by 10.78.43.17 with HTTP; Tue, 8 Aug 2006 23:47:07 -0700 (PDT) Message-ID: <6a7ac2300608082347y18794321k919ce2b98ee06382@mail.gmail.com> Date: Wed, 9 Aug 2006 10:47:07 +0400 From: "John Davis" To: "Ant Users List" Subject: how to call ant on optional subdirs? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello Currently I have a top-level build.xml file which calls ant on subdirs. It looks like something like this: ... I would like to change the xml so it only builds available directories. In other words, if a developer uses this build file, he might not be interested in building the tools directory nor the tests directories. Therefore, he might not have the tools or tests subdirectories. If he runs ant on the existing build.xml it will break when it tries to execute these steps. In order to fix this, I tried to use the a to get the list of available directories ie. tools, src, tests, ... but when I tried to call on the dirset, it said that it did not support the nested "dirset" element. Any help or suggestions is really appreciated. -- John F. Davis "JD" http://www.skink.net --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org