Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 30777 invoked from network); 12 Jun 2003 21:15:00 -0000 Received: from smtp-out7.blueyonder.co.uk (195.188.213.10) by daedalus.apache.org with SMTP; 12 Jun 2003 21:15:00 -0000 Received: from localhost ([80.194.24.21]) by smtp-out7.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5329); Thu, 12 Jun 2003 22:15:02 +0100 Date: Thu, 12 Jun 2003 22:16:12 +0100 Subject: Re: [betwixt] where to place betwixt files Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) From: robert burrell donkin To: "Jakarta Commons Users List" Content-Transfer-Encoding: 7bit In-Reply-To: <3EE889D7.11387.10C4151D@localhost> Message-Id: <17F564C8-9D1B-11D7-9C45-003065DC754C@blueyonder.co.uk> X-Mailer: Apple Mail (2.482) X-OriginalArrivalTime: 12 Jun 2003 21:15:02.0237 (UTC) FILETIME=[AFF9B8D0:01C33127] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Thursday, June 12, 2003, at 08:10 PM, Brian K. Wallace wrote: > On 12 Jun 2003 at 12:11, Larry Young wrote: > >> Hello, >> >> I thought I had seen a posting about this awhile ago, but I >> couldn't find it on the mail list archive. In fact I didn't see any >> postings for betwixt after February. there have been quite a few postings on the list since then but development hasn't been as swift as we'd hoped... >> I'm in the process of jar-ing my application and I was trying to >> figure out where I need to put my *.betwixt files in the JAR. I was >> going >> to put them all into a single 'betwixt' directory, but what happens >> down-the-road when I have two classes in different packages with the same >> name? Does betwixt even allow this? Does betwixt rely on the path of >> the >> class to find the *.betwixt file?? > > Place the betwixt file in the same package as the source file it's > defining. A classfile > com.mycompany.MyClass would have a corresponding betwixt file > MyClass.betwixt > in the com.mycompany package. +1 (that's the way things work at the moment.) it should very easy to add a strategy interface that would allow custom .betwixt file loading. if this is a priority for anyone, then maybe they'd like to contribute a patch ;) (for some guidelines see http://jakarta.apache.org/site/getinvolved.html and http://jakarta.apache.org/commons/patches.html) - robert