From user-return-59197-apmail-ant-user-archive=ant.apache.org@ant.apache.org Tue Jan 02 19:11:32 2007 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 8720 invoked from network); 2 Jan 2007 19:11:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2007 19:11:30 -0000 Received: (qmail 80552 invoked by uid 500); 2 Jan 2007 19:11:16 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 80421 invoked by uid 500); 2 Jan 2007 19:11:02 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 80330 invoked by uid 99); 2 Jan 2007 19:11:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jan 2007 11:11:01 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [130.167.251.65] (HELO donner.stsci.edu) (130.167.251.65) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jan 2007 11:09:59 -0800 Received: from [130.167.237.89] (avril.stsci.edu [130.167.237.89]) by donner.stsci.edu (MOS 3.8.3-GA) with ESMTP id EUC26566; Tue, 2 Jan 2007 14:09:05 -0500 (EST) Message-ID: <459AAD5E.3090800@stsci.edu> Date: Tue, 02 Jan 2007 14:07:10 -0500 From: Donald McLean User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Ant Users List Subject: Re: ANT task to process properties-files into static class References: <8128739.post@talk.nabble.com> In-Reply-To: <8128739.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Junkmail-Whitelist: YES (by domain whitelist at donner.stsci.edu) X-Virus-Checked: Checked by ClamAV on apache.org Really? That sounds like a case of "The cure is worse than the disease." I can't imagine a single case where something like that would be a better solution than the three or four techniques for providing static attributes that I'm already familiar with. However, of course, YMMV. Rapthor wrote: > > The solution would be to process the properties file and put all keys and > values into a class with public static attributes: --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org