Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 96217 invoked from network); 10 Oct 2005 14:01:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2005 14:01:48 -0000 Received: (qmail 67461 invoked by uid 500); 10 Oct 2005 14:01:42 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 67225 invoked by uid 500); 10 Oct 2005 14:01:41 -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 67203 invoked by uid 99); 10 Oct 2005 14:01:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 07:01:40 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ddevienne@gmail.com designates 64.233.184.207 as permitted sender) Received: from [64.233.184.207] (HELO wproxy.gmail.com) (64.233.184.207) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 07:01:43 -0700 Received: by wproxy.gmail.com with SMTP id i11so654168wra for ; Mon, 10 Oct 2005 07:01:19 -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=EM9zvq3zsqJXF6TZkEPjtn4Q9DCMz0Bf+SgF0hSftxEH/woXro96Ha9vzJ1b60Mc0OxFIg6SsGv/kzzqiOD/XZg9KXmN7N+nB1oPHw8ZSvvNlcvwVb7123l7mmTTrwHwlKUM9Nh2rFuldHWURYxviPk8TO9VkwR1PXq7vRYssh8= Received: by 10.54.125.17 with SMTP id x17mr3207489wrc; Mon, 10 Oct 2005 07:01:18 -0700 (PDT) Received: by 10.54.118.1 with HTTP; Mon, 10 Oct 2005 07:01:18 -0700 (PDT) Message-ID: <255d8d690510100701r7af66c91v6efe5f76d9bf3fbf@mail.gmail.com> Date: Mon, 10 Oct 2005 09:01:18 -0500 From: Dominique Devienne To: Ant Users List Subject: Re: seemless integration of custom tasks? In-Reply-To: <20050926204329.63632.qmail@web30213.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050926204329.63632.qmail@web30213.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > Without modifying the "core" ANT distribution this is not possible... Well, it is possible to use a task/type without a taskdef if you package your tasks/types as an antlib and use XML namespaces in the buildfile, with the Magic antlib:package-to-antlib-xml-file namespaces. It's not in the strictest of sense a taskdef ;-) That's the closest to seemless integration you can get with ant as-is. It's a design choice by the Ant community to have tasks outside the Ant distribution be explicitly declared. There's been talk on the dev list recently to have some AntLibs auto-loaded. As long as it's not the default behavior, I'm fine with it (I prefer using XML NS). The ant/autolib/ directory Steve suggested sounds fine to me for example. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org