Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 22175 invoked from network); 14 Aug 2002 18:50:43 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Aug 2002 18:50:43 -0000 Received: (qmail 10978 invoked by uid 97); 14 Aug 2002 18:50:37 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 10911 invoked by uid 97); 14 Aug 2002 18:50:37 -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 10870 invoked by uid 98); 14 Aug 2002 18:50:36 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: From: Dominique Devienne To: "'Ant Users List'" Subject: RE: patternset - including/excluding toggle... Date: Wed, 14 Aug 2002 13:50:07 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You can use the includes/excludes attributes of : This is basically the same as playing with the includesfile/excludesfile, but using properties, as Erik said was possible. --DD -----Original Message----- From: Stevens, Brigham [mailto:Brigham.Stevens@wamu.net] Sent: Wednesday, August 14, 2002 1:45 PM To: Ant Users List Subject: RE: patternset - including/excluding toggle... Thanks for your speedy reply! Some of the patternsets have multiple patterns, disqualifying it as a simple string, right? I mean, I could use more properties... I think a fileset should have something like: which would invert all the includes and excludes. Or if not would not make sense because it would be used for other Boolean operations. -----Original Message----- From: Erik Hatcher [mailto:jakarta-ant@ehatchersolutions.com] Sent: Wednesday, August 14, 2002 11:31 AM To: Ant Users List Subject: Re: patternset - including/excluding toggle... 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: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: