Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 48156 invoked from network); 10 Sep 2002 18:24:11 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 Sep 2002 18:24:11 -0000 Received: (qmail 14008 invoked by uid 97); 10 Sep 2002 18:24:46 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 13965 invoked by uid 97); 10 Sep 2002 18:24:45 -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 13937 invoked by uid 98); 10 Sep 2002 18:24:44 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) X-Sent: 10 Sep 2002 18:24:07 GMT Message-ID: <3D7E38C6.1030508@ehatchersolutions.com> Date: Tue, 10 Sep 2002 14:24:06 -0400 From: Erik Hatcher User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: handling external resources References: <28336AC23B25D411BEA300105AC7F5441199A63A@ICEXCH2> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The word "reuse" triggers one thought: datatypes. Would that work in your situation? Erik Shackelford, John-Mason wrote: > I am working on a series of ant tasks each of which requires a significant > amount of external configuration via XML files. Since parsing an XML file is > somewhat expensive I thought that perhaps I should keep the java rendering > of that XML configuration around so that when the task is run again the XML > doesn't need to be reparsed. Naturally I thought of creating a singleton > repository for the configuration info, but since Singletons have the > reputation for being evil I am wondering if there is a sanctioned Ant way of > holding on to external resources which may be reused and are expensive to > acquire. > > > John-Mason Shackelford > > Software Developer > NCS Pearson - Measurement Services > 2510 North Dodge St. > Iowa City, IA 52245 > 319-354-9200x6214 > shacjo@ncs.com > > > **************************************************************************** > This email may contain confidential material. > If you were not an intended recipient, > Please notify the sender and delete all copies. > We may monitor email to and from our network. > **************************************************************************** > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > > -- To unsubscribe, e-mail: For additional commands, e-mail: