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 89090 invoked from network); 15 Jun 2000 01:45:04 -0000 Received: from me-sv-02.free.net.au (202.147.17.2) by locus.apache.org with SMTP; 15 Jun 2000 01:45:04 -0000 Received: (qmail 16263 invoked from network); 15 Jun 2000 01:44:26 -0000 Received: from me-as-02-072.free.net.au (HELO donalgar) (202.147.19.72) by me-sv-02.free.net.au with SMTP; 15 Jun 2000 01:44:26 -0000 Message-Id: <3.0.5.32.20000615115137.0080d390@latcs4.cs.latrobe.edu.au> X-Sender: pjdonald@latcs4.cs.latrobe.edu.au X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Thu, 15 Jun 2000 11:51:37 +1000 To: ant-dev@jakarta.apache.org From: Peter Donald Subject: RE: [RFE] Richer Task Specification In-Reply-To: References: <3.0.5.32.20000615110002.00806340@latcs4.cs.latrobe.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N At 06:04 14/6/00 -0700, you wrote: >I'm not sure if this solves the problem (I'm still not >exactly sure what the problem is... :-) ). the problem is that in some cases it is desirable to add taskdefs while ant is running so that in one build file you can compile and then use the taskdef. Currently you have to have two build files. One to create taskdef and another to exectue that taskdef. This may be okay in 90% of projects but those who have small numbers of project specific taskdefs (like mine :P) have to go to painful lengths (like 2 build files/passes) to make sure everything is a-ok. I just wanted to get rid of that if at all possible. >I'm wondering if it might be useful to have a special >task that simply takes a Map in the execute() method >(of all the attributes that have been set). This would bring it into line with a lot of other similar structured technologies (ie most component based tech that end with -lets ala Serv-lets App-lets etc :P). However it would mean the death of any automated schema/DTD production for build files. I tentatively think it may be the way to go for large tasks but then again it would mean a lot of work to re-engineer current system and it may upset a whole bunch of people with custom tasks. Cheers, Pete *------------------------------------------------------* | "Nearly all men can stand adversity, but if you want | | to test a man's character, give him power." | | -Abraham Lincoln | *------------------------------------------------------*