Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 37749 invoked from network); 16 Apr 2004 08:44:17 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Apr 2004 08:44:17 -0000 Received: (qmail 26761 invoked by uid 500); 16 Apr 2004 08:43:50 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 26722 invoked by uid 500); 16 Apr 2004 08:43:49 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 26692 invoked from network); 16 Apr 2004 08:43:49 -0000 Received: from unknown (HELO corvil.com) (213.94.219.177) by daedalus.apache.org with SMTP; 16 Apr 2004 08:43:49 -0000 Received: from corvil.com (angel.local.corvil.com [172.18.1.171]) by corvil.com (8.12.9/8.12.5) with ESMTP id i3G8hxhr047245 for ; Fri, 16 Apr 2004 09:44:00 +0100 (IST) (envelope-from peter.reilly@corvil.com) Message-ID: <407F9D45.7070604@corvil.com> Date: Fri, 16 Apr 2004 09:45:57 +0100 From: Peter Reilly User-Agent: Mozilla Thunderbird 0.5 (X11/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs StyleTest.java References: <20040416083601.32161.qmail@minotaur.apache.org> In-Reply-To: <20040416083601.32161.qmail@minotaur.apache.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Stefan, It is probally not too important, but the createMapper may be replaced by an addMapper(Mapper) method in ant 1.6. - This allows use of the ant-type type override. Peter bodewig@apache.org wrote: > > /** > + * Defines the mapper to map source to destination files. > + * @return a mapper to be configured > + * @exception BuildException if more than one mapper is defined > + * @since Ant 1.6.2 > + */ > + public Mapper createMapper() throws BuildException { > + if (mapperElement != null) { > + throw new BuildException("Cannot define more than one mapper", > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org