Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 88037 invoked from network); 28 Sep 2006 10:30:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Sep 2006 10:30:41 -0000 Received: (qmail 10797 invoked by uid 500); 28 Sep 2006 10:30:35 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 10761 invoked by uid 500); 28 Sep 2006 10:30:34 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 10750 invoked by uid 99); 28 Sep 2006 10:30:34 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Sep 2006 03:30:34 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=alexey.a.petrenko@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [66.249.82.230] ([66.249.82.230:16080] helo=wx-out-0506.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 6F/DE-05478-944AB154 for ; Thu, 28 Sep 2006 03:30:33 -0700 Received: by wx-out-0506.google.com with SMTP id s13so523904wxc for ; Thu, 28 Sep 2006 03:30:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Atdeeb5ZPuSW8L1MnHmJKRjz9vpIc06geG4R+Oz2pJczfqDDgk+GQBSwPHEYhUVAzS/9xQDKQuBRZuC5cnuZMHZrX7b2V5viPIEcYITddRDLbomqby90yu58jrBgPdb3Ng6sBArO2iG9BWCT1t7IhXboAH+LPbDBGnzb8wF4u9U= Received: by 10.70.43.8 with SMTP id q8mr2600145wxq; Thu, 28 Sep 2006 03:30:28 -0700 (PDT) Received: by 10.70.36.4 with HTTP; Thu, 28 Sep 2006 03:30:27 -0700 (PDT) Message-ID: Date: Thu, 28 Sep 2006 14:30:28 +0400 From: "Alexey Petrenko" To: harmony-dev@incubator.apache.org Subject: Re: [classlib] Trying to catch patternset errors earlier In-Reply-To: <200609281019.k8SAJ3sH020544@d06av02.portsmouth.uk.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200609280944.k8S9itLg010151@d06av02.portsmouth.uk.ibm.com> <451B9ED4.9090100@gmail.com> <200609281019.k8SAJ3sH020544@d06av02.portsmouth.uk.ibm.com> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I think that it will be better to add another target to build for this check. Because of two reasons: 1. It is unclear that clean is also checks something 2. If it will fail and leave some files in build dirs how should I clean the repository? 2006/9/28, Mark Hindess : > > On 28 September 2006 at 11:07, Tim Ellison wrote: > > Sounds reasonable. The alternative is to not make clean fail, just > > print the warning and tidy up the remainder. That may be too easy to > > ignore though. > > Yes. I considered that and had the same concern. Even if I wrote the > code to print the warning, I think I'd ignore it since it would scroll > too quickly off the top of my screen at the beginning of the build. > > -Mark. > > > Regards, > > Tim > > > > Mark Hindess wrote: > > > Yesterday, while looking at something unrelated, I noticed that some > > > of the patternsets that are used to select the jars for the classlib > > > modules were not up to date with the result that some classes would be > > > missing from the resulting jars[0]. > > > > > > While it makes me slightly uneasy having a clean target that might fail, > > > it turns out that this is one place where it is quite easy to check > > > whether the patternsets are out of date. (Because if after the modules > > > have cleaned classes in their patternsets there are still files left > > > over then something is being create that isn't accounted for by the > > > patternsets.) > > > > > > So the clean target will now fail with a message like (tested > > > by reverting yesterdays change to the sound patternset): > > > > > > Built files still exist after module clean targets have run. This > > > probably means that one or more patternsets are incomplete. The > > > remaining files are: > > > > > > /classlib/build/classes/org/apache/harmony/sound/utils/ProviderService.cl > > ass > > > > > > I'm sure there are other ways to solve this problem but this seemed like > > > a sensible quick fix to help catch these problems a little sooner[1]. > > > > > > Regards, > > > Mark. > > > > > > [0] This might explain some of the awt/swing test failures so perhaps > > > it is worth checking the exclude lists again? > > > > > > [1] Though I guess since we clean at the beginning of a build (not the > > > end) then we might still find them in the build after the one that > > > caused the break but that's better than only finding them by accident. > > > > > > > > > > > > --------------------------------------------------------------------- > > > Terms of use : http://incubator.apache.org/harmony/mailing.html > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > > > > > > > > > -- > > > > Tim Ellison (t.p.ellison@gmail.com) > > IBM Java technology centre, UK. > > > > --------------------------------------------------------------------- > > Terms of use : http://incubator.apache.org/harmony/mailing.html > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > > > > > --------------------------------------------------------------------- > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > -- Alexey A. Petrenko Intel Middleware Products Division --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org