ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwald...@us.britannica.com
Subject RE: documenting your build file
Date Thu, 19 Oct 2000 18:08:24 GMT
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