Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 35454 invoked from network); 10 Apr 2002 10:03:15 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 Apr 2002 10:03:15 -0000 Received: (qmail 5083 invoked by uid 97); 10 Apr 2002 10:03:25 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 5064 invoked by uid 97); 10 Apr 2002 10:03:24 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 5053 invoked by uid 97); 10 Apr 2002 10:03:24 -0000 Date: 10 Apr 2002 10:02:55 -0000 Message-ID: <20020410100255.80220.qmail@icarus.apache.org> From: bodewig@apache.org To: jakarta-ant-cvs@apache.org Subject: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs AntStructure.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N bodewig 02/04/10 03:02:55 Modified: docs/manual/CoreTasks ant.html antstructure.html src/main/org/apache/tools/ant/taskdefs AntStructure.java Log: Bug 7552 auditing of - reset cache of visited elements at the end of execute. Add typedef to the child elements of project. Fix some docs. Revision Changes Path 1.14 +3 -1 jakarta-ant/docs/manual/CoreTasks/ant.html Index: ant.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/ant.html,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- ant.html 28 Feb 2002 12:39:58 -0000 1.13 +++ ant.html 10 Apr 2002 10:02:54 -0000 1.14 @@ -67,7 +67,9 @@ output - Filename to write the ant output to. + Filename to write the ant output to. This is + relative to the value of the dir attribute if it has been set or + to the base directory of the current project otherwise. No 1.6 +5 -4 jakarta-ant/docs/manual/CoreTasks/antstructure.html Index: antstructure.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/antstructure.html,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- antstructure.html 3 Feb 2002 22:00:41 -0000 1.5 +++ antstructure.html 10 Apr 2002 10:02:54 -0000 1.6 @@ -13,9 +13,10 @@ 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.

+href="taskdef.html"><taskdef> or <typedef>. 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

@@ -35,7 +36,7 @@
   <antstructure output="project.dtd"/>
   
-

Copyright © 2001 Apache Software Foundation. All rights +


Copyright © 2001-2002 Apache Software Foundation. All rights Reserved.

1.22 +16 -2 jakarta-ant/src/main/org/apache/tools/ant/taskdefs/AntStructure.java Index: AntStructure.java =================================================================== RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/AntStructure.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- AntStructure.java 3 Mar 2002 01:46:20 -0000 1.21 +++ AntStructure.java 10 Apr 2002 10:02:54 -0000 1.22 @@ -77,7 +77,7 @@ * * @author Stefan Bodewig * - * @version $Revision: 1.21 $ + * @version $Revision: 1.22 $ * * @ant.task category="xml" */ @@ -149,9 +149,16 @@ if (out != null) { out.close(); } + visited.clear(); } } + /** + * Prints the header of the generated output. + * + *

Basically this prints the XML declaration, defines some + * entities and the project element.

+ */ private void printHead(PrintWriter out, Enumeration tasks, Enumeration types) { out.println(""); @@ -183,7 +190,8 @@ out.println(""); - out.print(""); out.println(" For additional commands, e-mail: