Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 500 invoked from network); 14 Aug 2002 18:32:50 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Aug 2002 18:32:50 -0000 Received: (qmail 29742 invoked by uid 97); 14 Aug 2002 18:31:03 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 29608 invoked by uid 97); 14 Aug 2002 18:31:02 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 29496 invoked by uid 98); 14 Aug 2002 18:30:59 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Sent: 14 Aug 2002 18:30:31 GMT Message-ID: <3D5AA1C6.8090202@ehatchersolutions.com> Date: Wed, 14 Aug 2002 14:30:30 -0400 From: Erik Hatcher User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: patternset - including/excluding toggle... References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thats one way. Another option is if your patternset is a simple string to assign it to a property and use it in both cases that way. Or perhaps the new Selector stuff could be leveraged with a in one case? Stevens, Brigham wrote: > OK... I think I have the answer: using includesfile and excludes file > instead of a pure patternset... This would allow me to use the same list > in multiple places, but toggle... > > Is this the best/only way to do it? I would rather keep it all inline in > the build file. > > -----Original Message----- > From: Stevens, Brigham > Sent: Wednesday, August 14, 2002 11:11 AM > To: ant-user@jakarta.apache.org > Subject: patternset - including/excluding toggle... > > I have a pattern set that I want to be included in one step (both in jar > and copy tasks), but then the same patternset to be excluded in a > different task (again both in jar and copy). The goal is to have a task > that builds and deploys only a subset of the project, where the rest of > the project always exludes these same files. I didn't see on a fileset > how a patternset could be used, toggling the include/exclude. > > Thanks in advance, > --brigham > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > > -- To unsubscribe, e-mail: For additional commands, e-mail: