ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter reilly <peter.rei...@corvil.com>
Subject Re: <nant> task update
Date Thu, 27 Nov 2003 14:24:55 GMT
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 <bodewig@apache.org> 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
> 
> [bodewig@bodewig 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: 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


Mime
View raw message