Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 67665 invoked from network); 21 Oct 2003 15:13:04 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 21 Oct 2003 15:13:04 -0000 Received: (qmail 3443 invoked by uid 500); 21 Oct 2003 15:12:54 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 3149 invoked by uid 500); 21 Oct 2003 15:12:53 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 3135 invoked from network); 21 Oct 2003 15:12:52 -0000 Received: from unknown (HELO host.leverageweb.com) (64.91.254.192) by daedalus.apache.org with SMTP; 21 Oct 2003 15:12:52 -0000 Received: from dhcp205169.hq.af.mil ([134.205.205.169] helo=leverageweb.com) by host.leverageweb.com with asmtp (Exim 4.24) id 1AByGS-0002F3-Pf for dev@cocoon.apache.org; Tue, 21 Oct 2003 11:17:40 -0400 Message-ID: <3F954CF3.7050008@leverageweb.com> Date: Tue, 21 Oct 2003 11:12:51 -0400 From: Geoff Howard User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: missing mocks for jms blocks ? References: <3F9541E2.3010905@anyware-tech.com> <3F9543E5.9050603@hartle-klug.com> <3F954A54.7010504@anyware-tech.com> In-Reply-To: <3F954A54.7010504@anyware-tech.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.leverageweb.com X-AntiAbuse: Original Domain - cocoon.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - leverageweb.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sylvain Wallez wrote: > Michael Hartle wrote: > >> Sylvain Wallez wrote: >> >>> Carsten Ziegeler wrote: >>> >>>> I had the same problem - as the mocks are missing, this block is >>>> excluded by default, so you don't get build problems using ant. >>>> >>> Ah, ok. But it is a bad thing to have code that's not compiled in the >>> default build... >>> >>>> Only with Eclipse you have the problem, I removed by hand the jms >>>> block from the source list of Eclipse. >>>> >>> That's what I did ;-) >>> >>> Sylvain >>> >> Just a question, those mock classes, are they created manually or do >> you already use some tool to generate them ? > > In order to be compliant with the licence, they should _theroretically_ > be written by hand from a publicly available information such as the > javadoc on java.sun.com... Which I presume is what Geronimo did. Geoff >> In case of the former, I recently wrote a tool to auto-implement >> interfaces as stubs with minimal methods to be extended manually - >> this could probably adapted to generate mock classes that naturally >> would not require further manual work. > > > > Sylvain >