cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <coc...@leverageweb.com>
Subject Re: missing mocks for jms blocks ?
Date Tue, 21 Oct 2003 15:12:51 GMT
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
> 



Mime
View raw message