Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 32942 invoked from network); 11 Jan 2008 16:14:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jan 2008 16:14:52 -0000 Received: (qmail 73295 invoked by uid 500); 11 Jan 2008 16:14:41 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 73132 invoked by uid 500); 11 Jan 2008 16:14:40 -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 73121 invoked by uid 99); 11 Jan 2008 16:14:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2008 08:14:40 -0800 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 ddevienne@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2008 16:14:17 +0000 Received: by ug-out-1314.google.com with SMTP id c2so631112ugf.31 for ; Fri, 11 Jan 2008 08:14:22 -0800 (PST) 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=WRG14K8pqM+Ua6w+LjykSNavobtW7wUnVQbCHXeYH9s=; b=SvqN3ZqRbKBTiaWcUROlULy1/ipuc1voyTVeo45IQam92bBajbgQ8kfSClmuLlTO3J5iqtdKC4qDZsO3Xh40d+2Ok7kZA+jJdjEbtJz9kXrREv9sZaukNL0qn/vO/wF4oGWJ1LACJaG0VG4MbG1oUIRzcD7sJ8vkKYOeM8bWco0= 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=cJbP8UxhuT8dwBogHRwgd2tiNipAjVmDMz8a3ARr9HXV+G/5unkcyceoWO2biMjuQb0p74WLk8uSLgzi6x+tUn62fIgoA7ACAixyael2Eabk9DqoeUvz1Bkpm+yldzfwVj2D7z/TIRO3a2OrPHspe/uIqj74SvrnT1IADAeyrYk= Received: by 10.67.26.7 with SMTP id d7mr4935288ugj.23.1200068062252; Fri, 11 Jan 2008 08:14:22 -0800 (PST) Received: by 10.67.92.10 with HTTP; Fri, 11 Jan 2008 08:14:22 -0800 (PST) Message-ID: <255d8d690801110814x3fa36c1ag38e2700a8595e4b8@mail.gmail.com> Date: Fri, 11 Jan 2008 10:14:22 -0600 From: "Dominique Devienne" To: "Ant Developers List" Subject: Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <02d201c8539e$8dfe98b0$0920a8c0@isabelteam.be> X-Virus-Checked: Checked by ClamAV on apache.org On Jan 11, 2008 8:11 AM, Stefan Bodewig wrote: > "Gilles Scokart" writes: > > > I never thought to overwrite macro to customize a generic build script. Can > > macro be overwritten? > > Sure, it's just another Ant task that has been defined. But my point is that most of the time, you never want to override things (macros or target), but augment them with some kind of pre or post processing. Peo's point of simply copy-pasting the "abstract" build code to fully override the target duplicates that code, and makes build maintenance all the more difficult. That's the well known issue with code generator and code wizards when it's done in a one-of way. Copy-pasting a target content shows failure of the generic build to be flexible, and should be the exception rather than the rule, and actually frowned upon IMHO. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org