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
-- 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