From dev-return-72263-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Tue May 23 13:28:14 2006 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 84715 invoked from network); 23 May 2006 13:28:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 May 2006 13:28:14 -0000 Received: (qmail 35471 invoked by uid 500); 23 May 2006 13:28:08 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 35376 invoked by uid 500); 23 May 2006 13:28:08 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 35326 invoked by uid 99); 23 May 2006 13:28:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 May 2006 06:28:07 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of whaefelinger@epo.org designates 145.64.132.100 as permitted sender) Received: from [145.64.132.100] (HELO mail.epo.nl) (145.64.132.100) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 May 2006 06:28:05 -0700 Received: from localhost (localhost [127.0.0.1]) by mail.epo.nl (Postfix) with ESMTP id 6A55F47044 for ; Tue, 23 May 2006 15:27:44 +0200 (CEST) Received: from mail01.internal.epo.org (smtpmail.internal.epo.org [10.0.5.175]) by mail.epo.nl (Postfix) with ESMTP id C0DB246AD4 for ; Tue, 23 May 2006 15:27:42 +0200 (CEST) In-Reply-To: <255d8d690605230553m30ec5856s7ad8a077180e5cc@mail.gmail.com> To: "Ant Developers List" Subject: Re: ComponentHelper replacement MIME-Version: 1.0 X-Mailer: Lotus Notes 653HF812 February 24, 2006 From: Wolfgang =?ISO-8859-1?Q?H=E4felinger?= Message-ID: Date: Tue, 23 May 2006 15:27:41 +0200 X-MIMETrack: Serialize by Router on Mail01/EPO(Release 7.0.1|January 17, 2006) at 23-05-2006 15:27:41, Serialize complete at 23-05-2006 15:27:41 Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: at epo.org X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hey, >> Ant's purpose is as a build tools, not a Java library. Perhaps time to change. After all, there must be a reason why Maven's community is growing :-) >> is just syntactic sugar, and is better not used >> IMHO. I disagree. It's very cool. Almost as cool as "macrodef" which I really love. Cheers, Wolfgang. "Dominique Devienne" 23-05-2006 14:53 Please respond to "Ant Developers List" To "Ant Developers List" cc Subject Re: ComponentHelper replacement > Still the overall problem I have with customizing Ant is the over-usage of > "private". It also bites at other places, ComponentHelper is just an example. On the contrary, it's a Good Thing (TM) Ant's purpose is as a build tools, not a Java library. Keeping its internals private allows future refactoring which do not break BC, or minimize BC issues. It's a lot easier to open up an API here and there, when there's a good case for it, rather than leaving everything "protected" or public. is just syntactic sugar, and is better not used IMHO. But if you persist on wanting to overuse it, concentrate your energy on simply adding an attribute to presetdef to ignore overrides (with all that entails), and provide a patch. Or better yet, use a my- prefix for your presets, so as not to confuse people with tasks that look like plain Ant tasks, but don't behave the same because their defaults have been changed. This is most likely a maintenance issue, and a violation of the "principle of least surprise". Good luck. I'll get down from my soap box now ;-) --DD --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org