You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Erik Hatcher <er...@ehatchersolutions.com> on 2004/01/14 19:14:49 UTC

Re: My experience with namespaces in Ant 1.6 (WAS: RE: antlib: cannot find ?)

On Jan 14, 2004, at 9:56 AM, Dominique Devienne wrote:
> 1) Using a namespace prefix on all nested elements can quickly become
>    tedious for large tasks, with lots of nested elements. One way to
>    remove the tedious is to change the default namespace for a given
>    element and it's children:
>
>    <index index="${index.base.dir}/index"
>           xmlns ="antlib:org.apache.lucene.ant">
>      <fileset dir="${files.dir}"/>
>    </index>

Yup, I did that :))

Good point though.  Perhaps you could paste your info on to the wiki 
page for namespaces?

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org