Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 41114 invoked from network); 16 Jun 2008 15:29:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jun 2008 15:29:51 -0000 Received: (qmail 40161 invoked by uid 500); 16 Jun 2008 15:29:50 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 39833 invoked by uid 500); 16 Jun 2008 15:29:49 -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 39822 invoked by uid 99); 16 Jun 2008 15:29:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jun 2008 08:29:49 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tim.visher@gmail.com designates 209.85.132.249 as permitted sender) Received: from [209.85.132.249] (HELO an-out-0708.google.com) (209.85.132.249) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jun 2008 15:28:56 +0000 Received: by an-out-0708.google.com with SMTP id b2so1066682ana.25 for ; Mon, 16 Jun 2008 08:29:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=k4j7UHKg3iKCMbO5BEuFhvmJ7wqJ4CTryzufU0M3olM=; b=V53YZuPgDg9f2peb5uUQ24PJQCMTjO8cm5mHjs3N1vG2DWeCmsghO7eWccmJQzXJKx 1rixgA2/5EVoqgH6kPcWBmQKAr8YL7YeV/7wFOlYkyEG0jyUU12vYTZTPLJo6NcDrEWQ fpsKASzz9RtTIsRLaCopzEWwzVb2A6o3DGX+M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=A0gBWatLMB2HNdXDMcuwtTXBDmB4VkQhl0tYZn5AEXROzR42rxnuLifwji+NIJI8Od 0YiAMqIQgW/OU6OQcuBVuC7DbrIquRAkNy2SA7CHf6MYBxjnKRojAP/rsB1zMaPi/NW9 C1PsZzCFrVUz85jc1zgRoRr/53gjRQU4X5xFw= Received: by 10.100.14.2 with SMTP id 2mr8750029ann.67.1213630152393; Mon, 16 Jun 2008 08:29:12 -0700 (PDT) Received: by 10.100.242.14 with HTTP; Mon, 16 Jun 2008 08:29:12 -0700 (PDT) Message-ID: Date: Mon, 16 Jun 2008 11:29:12 -0400 From: "Tim Visher" To: "Ant Users List" Subject: Re: 'clean' target specifying all files 'except' a given fileset In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Hey David, Thanks for the help. This is the final copy, and it appears to be working. I had to add the /* to the end of the directories to get the actual files under those directory trees to be excluded, but other than that it's pretty much what you had. In the docs, they say you're supposed to be able to have each of the exclude/include statements incorporate a group of patterns, separated by ',' or ' ', but I haven't been able to get this to work. Anyone know anything about those? On Mon, Jun 16, 2008 at 11:21 AM, David Weintraub wrote: > One more thing I just noticed (bad eyesight due to staring at computer > screens for way too long), You have just "src/*" and "test/*". You > probably want "src/**" and "test/**". A single asterisk means just the > current directory. A double asterisk means all subdirectories too. > > -- > David Weintraub > qazwart@gmail.com > > > On Mon, Jun 16, 2008 at 10:57 AM, Tim Visher wrote: >> Partially solved my own problem at this point. No longer getting >> NullPointer but I still can't get the right includes. My syntax must >> be off or something. Good news is that the exclude seems to be >> working. >> >> Current target contents: >> >> >> >> >> >> >> >> >> >> >> >> On Mon, Jun 16, 2008 at 10:46 AM, Tim Visher wrote: >>> Hey Everyone, >>> >>> I'm trying to develop a clean target that essentially deletes >>> everything but a given set of files, rather than explicitly specifying >>> everything to delete. This seems like a slightly more elegant >>> solution than the alternative, but I'm having very little success at >>> the moment. I've included the contents of the clean target here >>> (since it's pretty small at the moment). Any help would be greatly >>> appreciated. >>> >>> Now: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> Former: >>> >>> >>> >>> >>> >>> >>> >>> >>> FYI: I'm actually failing on an error, a Null Pointer Exception to be >>> exact. So it's not only not deleting the desired fileset; it's not >>> even executing. >>> >>> -- >>> >>> In Christ, >>> >>> Timmy V. >>> >>> http://burningones.com/ >>> http://five.sentenc.es/ - Spend less time on e-mail >>> >> >> >> >> -- >> >> In Christ, >> >> Timmy V. >> >> http://burningones.com/ >> http://five.sentenc.es/ - Spend less time on e-mail >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >> For additional commands, e-mail: user-help@ant.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > -- In Christ, Timmy V. http://burningones.com/ http://five.sentenc.es/ - Spend less time on e-mail --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org