Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 85264 invoked from network); 3 Apr 2002 03:37:03 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 3 Apr 2002 03:37:03 -0000 Received: (qmail 21324 invoked by uid 97); 3 Apr 2002 03:37:09 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 21296 invoked by uid 97); 3 Apr 2002 03:37:09 -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 21282 invoked from network); 3 Apr 2002 03:37:08 -0000 Message-Id: <200204030340.g333eGS09226@laptop.home> X-Mailer: exmh version 2.5 07/16/2001 with nmh-1.0.4 From: Ovidiu Predescu To: Conor Macneill Cc: ant-dev@jakarta.apache.org Subject: [PATCH] Parallel and Sequential access to nestedTasks X-Url: http://www.geocities.com/SiliconValley/Monitor/7464/ X-Image-Url: http://www.geocities.com/SiliconValley/Monitor/7464/ovidiu.tiff X-Face: ?(@Y~qjBA}~8ZMh5gM4{Q{bE_*:sCJ3@Z?{B*Co=J!#8bb~-z?-0._vJjt~MM59!MjxG%>U 5>MW^2-\7~z04buszR^=m^U|m66>FdR@cFwhb;.A(8*D.QmLkK]z,md0'HiOE\pyeiv_PACR+P:Cm. wq_%l':E:q]g-UCc>r&s@BVo'kFN;(\9PF22Myg5w%nUBWQ6MJJ#qL#w>2oxckP'H:\$9F"mxsz]Dg k{1`fTcP'Y$CgGnc^paTV$dzhVX+;(U$;Eb)P<>G)g) Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_20562857820" Date: Tue, 02 Apr 2002 19:40:16 -0800 Sender: ovidiu@apache.org X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --==_Exmh_20562857820 Content-Type: text/plain; charset=us-ascii Hi, Some months ago I submitted the following patch to the Parallel and Sequential tasks. It allows external access to internal nested tasks maintained by instances of these classes. I use this feature in a functional testing framework based on Ant. Please let me know what is the resolution on this patch. Best regards, Ovidiu --==_Exmh_20562857820 Content-Type: text/plain ; name="ant-nested-tasks.diff"; charset=us-ascii Content-Description: ant-nested-tasks.diff Content-Disposition: attachment; filename="ant-nested-tasks.diff" Index: src/main/org/apache/tools/ant/taskdefs/Parallel.java =================================================================== RCS file: /home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Parallel.java,v retrieving revision 1.7 diff -u -r1.7 Parallel.java --- src/main/org/apache/tools/ant/taskdefs/Parallel.java 18 Mar 2002 02:44:29 -0000 1.7 +++ src/main/org/apache/tools/ant/taskdefs/Parallel.java 3 Apr 2002 01:59:45 -0000 @@ -87,6 +87,10 @@ nestedTasks.addElement(nestedTask); } + public Vector getNestedTasks() { + return nestedTasks; + } + /** * Block execution until the specified time or for a * specified amount of milliseconds and if defined, Index: src/main/org/apache/tools/ant/taskdefs/Sequential.java =================================================================== RCS file: /home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Sequential.java,v retrieving revision 1.5 diff -u -r1.5 Sequential.java --- src/main/org/apache/tools/ant/taskdefs/Sequential.java 3 Mar 2002 01:46:20 -0000 1.5 +++ src/main/org/apache/tools/ant/taskdefs/Sequential.java 3 Apr 2002 01:59:45 -0000 @@ -85,6 +85,10 @@ nestedTasks.addElement(nestedTask); } + public Vector getNestedTasks() { + return nestedTasks; + } + /** * Execute all nestedTasks. */ --==_Exmh_20562857820 Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: For additional commands, e-mail: --==_Exmh_20562857820--