Create an Ant DTD : Introduction « Ant « Java Tutorial






<?xml version="1.0"?>
<project name="Apache Ant Book Project" 
         basedir="."
         default="build-dtd">
  
  <description>
    Apache Ant book example project. The main targets are listed below.
  </description>

  <target name="build-dtd" description="Create an Ant DTD">
    <antstructure output="./project.dtd"/>
  </target>

</project>








38.1.Introduction
38.1.1.Create an Ant DTD
38.1.2.Use a precompiler with Java
38.1.3.Suppress warning in ANT script
38.1.4.Ant call another ant script