From 75eff8434d782fbf6b645383d74b3a422425db51 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
Date: Thu, 10 Aug 2000 12:30:19 +0000
Subject: [PATCH] Added documentation for the task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267919 13f79535-47bb-0310-9956-ffa450edef68
---
WHATSNEW | 2 +-
docs/index.html | 30 ++++++++++++++++++++++++++++++
2 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/WHATSNEW b/WHATSNEW
index 1b67ca0ea..f0bb9aad3 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -28,7 +28,7 @@ beahvior has been dropped.
Other changes:
--------------
-* New tasks: sql, genkey, cab, ftp, junit.
+* New tasks: antstructure, cab, ftp, genkey, junit, sql.
* New tasks mparse, execon. All pending documentation, most of
them pending review.
diff --git a/docs/index.html b/docs/index.html
index 97b178917..57498957b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -743,6 +743,7 @@ same patterns as the example before.
- Ant
+ - AntStructure
- Available
- Chmod
- Copydir
@@ -835,6 +836,35 @@ allows you to parameterize your subprojects.
</ant>
+
+Description:
+Generates a DTD for Ant build files which contains informations
+about all tasks currently known to Ant.
+Note that the DTD generated by this task is incomplete, you can
+always add XML entities using <taskdef>
. See here for
+a way to get around this problem.
+This task doesn't know about required attributes, all will be
+listed as #IMPLIED
.
+Parameters:
+
+
+ Attribute |
+ Description |
+ Required |
+
+
+ output |
+ file to write the DTD to. |
+ Yes |
+
+
+Examples
+
+<antstructure output="project.dtd" />
+
+
Description
Sets a property if a resource is available at runtime. This resource can be a