ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taylor, Jeremy" <jtay...@lehman.com>
Subject RE: documenting your build file
Date Fri, 20 Oct 2000 14:12:07 GMT
Something like 'ant:' would seem a sensible namespace.

> -----Original Message-----
> From:	rwaldhof@us.britannica.com [SMTP:rwaldhof@us.britannica.com]
> Sent:	19 October 2000 19:08
> To:	ant-dev@jakarta.apache.org
> Subject:	RE: documenting your build file
> 
> I'll second that. 
> 
> -----Original Message----- 
> From: John Kohler [ <mailto:jkohler@daforma.com>] 
> Sent: Thursday, October 19, 2000 10:54 AM 
> To: 'ant-dev@jakarta.apache.org' 
> Subject: RE: documenting your build file 
> 
> 
> I would recommend using namespaces.  (If the build.xml does not now 
> use a namespace, it would be a very good Idea to add it.) 
> 
> 
> <project 
>    xmlns=" <http://www.apache.org/schema/Ant>" 
>    xmlns:doc=" <http://www.apache.org/schema/AntDoc>" 
>    default="package" basedir="."> 
> 
>   <target name="init"> 
>     <doc:descr>some description goes here</doc:descr> 
>     <tstamp/> 
>     ... 
>   </target> 
> 
>   ... 
> 
> The Ant parser would simply ignore any tags not in its 
> own namespace.  If you do this with namespaces, then ANY 
> XML language (eg. XLink, RDF) could be embedded within 
> the build files. 
> 

Mime
View raw message