Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 88551 invoked from network); 23 Jun 2000 11:49:16 -0000 Received: from lukla.sun.com (192.18.98.31) by locus.apache.org with SMTP; 23 Jun 2000 11:49:16 -0000 Received: from engmail2.Eng.Sun.COM ([129.146.1.25]) by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id FAA05801 for ; Fri, 23 Jun 2000 05:49:15 -0600 (MDT) Received: from intrados.eng.sun.com (intrados.Eng.Sun.COM [129.144.124.106]) by engmail2.Eng.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with ESMTP id EAA23625 for ; Fri, 23 Jun 2000 04:49:14 -0700 (PDT) Received: from [212.24.138.233] ([129.156.76.233]) by intrados.eng.sun.com (8.9.3+Sun/8.9.1) with ESMTP id EAA13231 for ; Fri, 23 Jun 2000 04:49:13 -0700 (PDT) User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Fri, 23 Jun 2000 04:49:02 -0700 Subject: Re: [RFE] Richer Task Specification From: James Duncan Davidson To: Message-ID: In-Reply-To: <85256907.003CD475.00@d54mta04.raleigh.ibm.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N on 2000/06/23 04:04, rubys@us.ibm.com at rubys@us.ibm.com wrote: > Would the target have to preceed the taskdef in the XML? Or is he proposal > to revert back to DOM and not instantiate tasks before they are used? Are > there limitations on what tasks may be used in tasks specified as targets > of a taskdef? Or am I missing something? DOM, no. Not necessarily. I think JDOM would work just fine, as would some private tree built up from a SAX source (or even a little mini parser that pretty much only understood '<' and '>' and the relatively simple semantics of the build file so that we could slice our pre-build dependancy on any particular parser.. but I'm only slightly serious about that and mostly joking.. :) But yes, the more we go around, the more that I think that instantiation and initialization of tasks is definitly a deferred thing. > My feeling is that while this may be "purer" in some abstract sense, it > will be harder to explain. Given a choice, I would prefer something that > is easy to understand. I'll go for pure as long as it can be explained in a parapgraph of good docs. I'm hesitant to go for expediency. It's a fine line obviously. :) .duncan