From dev-return-56688-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Thu Apr 01 08:15:39 2004 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 1058 invoked from network); 1 Apr 2004 08:15:39 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Apr 2004 08:15:39 -0000 Received: (qmail 87671 invoked by uid 500); 1 Apr 2004 08:15:13 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 87623 invoked by uid 500); 1 Apr 2004 08:15:13 -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 87552 invoked from network); 1 Apr 2004 08:15:11 -0000 Received: from unknown (HELO corvil.com) (213.94.219.177) by daedalus.apache.org with SMTP; 1 Apr 2004 08:15:11 -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 i318FMhr032474 for ; Thu, 1 Apr 2004 09:15:22 +0100 (IST) (envelope-from peter.reilly@corvil.com) Message-ID: <406BCFF8.9060406@corvil.com> Date: Thu, 01 Apr 2004 09:16:56 +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: nested elements in antlibs References: <20040331180235.96221.qmail@web20415.mail.yahoo.com> In-Reply-To: <20040331180235.96221.qmail@web20415.mail.yahoo.com> 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 Opps, you are correct. I was using my anti-xml-hell patch http://marc.theaimsgroup.com/?l=ant-dev&m=107763945224538&w=2 you need to do the following silliness: see: http://ant.apache.org/manual/CoreTypes/antlib.html#currentnamespace Peter Matt Benson wrote: >I can't figure it out... I am using your exact example >and I get "The type doesn't support >the nested "arg" element."... > >-Matt > >--- Peter Reilly wrote: > > >>That should work, at least it does for me: >> >> >> >> >> >> >> >>in an antlib at package test >>and used: >> >> >> >> >> >> >>Matt Benson wrote: >> >> >> >>>I am finding that I cannot define the following in >>> >>> >>an >> >> >>>antlib: >>> >>> >>> >>> >>> >>> >>> >>>and reference it with a namespace, due to the fact >>>that the nested elements keep the default >>> >>> >>namespace, >> >> >>>even using the >>>notation. Since presets are pre-created, I guess I >>>can understand how this is happening... should it >>>continue to happen? Am I missing an obvious >>>workaround other than loading the antlib via a >>> and no ns? >>> >>>Thanks, >>>Matt >>> >>>__________________________________ >>>Do you Yahoo!? >>>Yahoo! Finance Tax Center - File online. File on >>> >>> >>time. >> >> >>>http://taxes.yahoo.com/filing.html >>> >>> >>> >>--------------------------------------------------------------------- >> >> >>>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 >> >> >> > > >__________________________________ >Do you Yahoo!? >Yahoo! Finance Tax Center - File online. File on time. >http://taxes.yahoo.com/filing.html > >--------------------------------------------------------------------- >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