The rule is as is in the ant namespace documentation, opps the to be written documentation, is that if the element name is in ant's xmlns, then the componentname of the element is the local name, otherwise it is uri:localname.
This is to be backward compatible with previous versions of ant. On Thu, 2003-11-27 at 14:17, Stefan Bodewig wrote: > On 25 Nov 2003, Stefan Bodewig <[EMAIL PROTECTED]> wrote: > > > this is from running nant.xml with Mono 0.28 and NAnt (CVS version) > > in my PATH on Linux: > > and now: > > <ant:project xmlns:ant="antlib:org.apache.tools.ant" > xmlns="antlib:org.apache.tools.ant.taskdefs.optional.dotnet"> > <nant> > <build> > <echo message="This is NAnt"/> > </build> > </nant> > </ant:project> > > leads to > > [EMAIL PROTECTED] dotnet]$ ant -f /tmp/nant.xml > Buildfile: /tmp/nant.xml > [nant] NAnt version 0.8.4 Copyright (C) 2001-2003 Gerry Shaw > [nant] http://nant.sourceforge.net > > [nant] Buildfile: file://tmp/build956726090.xml > [nant] [echo] This is NAnt > > [nant] BUILD SUCCEEDED > > [nant] Total time: 0.1 seconds. > > > > > BUILD SUCCESSFUL > Total time: 2 seconds > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]