cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: missing mocks for jms blocks ?
Date Tue, 21 Oct 2003 15:01:40 GMT
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...

> 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

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -  http://www.orixo.com



Mime
View raw message