Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 53524 invoked from network); 9 Aug 2005 21:44:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Aug 2005 21:44:59 -0000 Received: (qmail 86748 invoked by uid 500); 9 Aug 2005 21:44:58 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 86676 invoked by uid 500); 9 Aug 2005 21:44:57 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 86663 invoked by uid 99); 9 Aug 2005 21:44:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2005 14:44:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [192.6.10.2] (HELO colossus.hpl.hp.com) (192.6.10.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2005 14:45:20 -0700 Received: from timmay.hpl.hp.com (timmay-hb.hpl.hp.com [15.144.59.39]) by colossus.hpl.hp.com (8.12.10/8.12.10) with ESMTP id j79LhjEM029642 for ; Tue, 9 Aug 2005 22:43:46 +0100 (BST) Received: from [16.27.161.34] ([16.27.161.34]) by timmay.hpl.hp.com (8.13.2/8.13.2) with SMTP id j79LheJL020481 for ; Tue, 9 Aug 2005 22:43:40 +0100 (BST) Message-ID: <42F923C0.2040703@apache.org> Date: Tue, 09 Aug 2005 22:44:32 +0100 From: Steve Loughran User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: programmatically creating and marshalling antfiles References: <42F77BFF.4090700@well.com> In-Reply-To: <42F77BFF.4090700@well.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPLB-IMAP-MailScanner-Information: Please contact the Helpdesk for more information X-HPLB-IMAP-MailScanner: Found to be clean X-HPLB-IMAP-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5) X-HPL-MailScanner-Information: Please contact the Helpdesk for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.294, required 5, ALL_TRUSTED -0.84, AWL 1.15, BAYES_00 -2.60) X-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jack Woehr wrote: > Jose Alberto Fernandez wrote: > >> One of the problems here is that it is not always possible >> to reconstruct the XML for a particular TASK. That is, >> tasks MUST have setXXX methods for every attribute, but there is >> no requirement that they provide a corresponding getXXX. >> Simillar for createXXXX, addXXXX, etc. >> >> Hence there is no way to given objects created programatically >> to get back what the settings for those objects are. >> >> > True, but the process does take place in Antidote, so the back end ... > the output stage ... of such a task ("WriteProject" ?) is already coded. > > As for getXXX() .. backing in such a function sounds like a sweep of the > tasks, > but a clean sweep. > Even if you could retro-fit every task out there with getters, -what about overloaded set operatons? which one should the get return? -what about property assignments. Tasks get their setters with properties expanded. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org