Nacho G. Mac Dowell wrote:
I've successfully mavenized api, xs and js. All tests are ran by maven
and pass. I am now mavenizing jm and I am facing a class loading problem
with the chain generator. If I use it as-is (not from ant, from maven),
then there is a npe because
Thread.currentThread().getContextClassLoader() is null. I tried using
getClass().getClassLoader() but it then fails with
java.lang.ClassCastException: The controller must be an interface
If I do a JavaSource.toString it is not an interface so what I am
thinking is that maybe there is a bug in CompiledClassReflector.
I can't tell you what's wrong, but definitely, there is an error. The
ChainGenerator is indeed invoked for interfaces only.
I suggest that you commit your current status into a branch and give me
a chance to look into the problem.
Jochen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]