Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 26761 invoked from network); 29 Jun 2010 21:53:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Jun 2010 21:53:13 -0000 Received: (qmail 60773 invoked by uid 500); 29 Jun 2010 21:53:12 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 60700 invoked by uid 500); 29 Jun 2010 21:53:12 -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 60692 invoked by uid 99); 29 Jun 2010 21:53:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 21:53:12 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 21:53:05 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OTijU-0002eu-7F for user@ant.apache.org; Tue, 29 Jun 2010 14:52:44 -0700 Message-ID: <29028773.post@talk.nabble.com> Date: Tue, 29 Jun 2010 14:52:44 -0700 (PDT) From: Andy2008 To: user@ant.apache.org Subject: Re: DirSet question In-Reply-To: <20100629204721.GL5344@wladimir> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: hoangtu69@yahoo.com References: <29027696.post@talk.nabble.com> <20100629204721.GL5344@wladimir> X-Virus-Checked: Checked by ClamAV on apache.org Thanks. The includesfile works perfectly :) Michael Ludwig-6 wrote: > > Andy2008 schrieb am 29.06.2010 um 12:56 (-0700): >> >> I want to include a number of directories. Below is my code. In >> this example, I only want to include Project1 and Project2 directories >> >> >> >> >> >> Is there a way to put Project1 and Project2 values in one include >> statement instead of having 2 include statements? I will have a lot >> of directories to include. > > Use dirset/@includesfile as follows: > > G:\dev\Ant :: more /t2 dirset-includesfile.xml > > > > refid="bla" > pathsep="${line.separator}" > property="bla.blub" /> > > > > > G:\dev\Ant :: type dirlist.txt > test > xmlprop > space dir bla > space dir blub > > G:\dev\Ant :: ant -f dirset-includesfile.xml > Buildfile: G:\dev\Ant\dirset-includesfile.xml > [echo] G:\dev\Ant\space dir bla > [echo] G:\dev\Ant\space dir blub > [echo] G:\dev\Ant\test > [echo] G:\dev\Ant\xmlprop > > BUILD SUCCESSFUL > >> I tried the below but it does not work > > Hint: The manual will tell you what will work and what will not. > > -- > Michael Ludwig > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > -- View this message in context: http://old.nabble.com/DirSet-question-tp29027696p29028773.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org