Michael Hartle wrote:
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...
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
