ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Kohler <jkoh...@daforma.com>
Subject RE: documenting your build file
Date Thu, 19 Oct 2000 15:54:29 GMT
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