ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <>
Subject Re: antlibs/namespaces
Date Thu, 06 Nov 2003 12:52:21 GMT
On Thursday 06 November 2003 11:54, peter reilly wrote:
> However, I understand the problem of writing schemas, using xml editors and
> also the fact that it is a little strange ...
> So now I think that the nested elements should have the
> namespace of the enclosing element (except for typedef'ed elements)
> I have a patch ready to do this (enclosed) (without unit tests)
> and am ready to commit.

One oddity is that the implementation of elements is now

For example the <for> task from ant-contrib has a <sequential>
nested element, <outofdate> also has a <sequential>. The first
is implemented by addTask(Task) and the second is implemented
by addSequential(Sequential), this means that with the new
ns rules one needs to do:

<ac:for param="file">
     <ac:fileset dir="${test.dir}/mains" includes="*.cpp"/>
       <ac:sourcefiles path="${file}"/>
       <ac:targetfiles path="${file}.txt"/>
          <echo>the ${file} was outofdate</echo>


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message