Sylvain Wallez wrote:
Carsten Ziegeler wrote:Just a question, those mock classes, are they created manually or do you already use some tool to generate them ?
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
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