I just committed a change that sets up the Java thread context class loader to be the compiling class loader for Java code called from a flowscript if "reload-scripts" is on. I don't use Hibernate so I haven't tested it, but if Hibernate uses the thread context class loader to load your persistent classes then this should fix your problem. Can you test it and let us know the result?

Thanks,
Chris

Mark Lundquist wrote:

I used to enjoy the automatic recompilation of my Java classes with <cocoon/flow-interpreters/component-instance/reload-scripts>...

...until I started using Hibernate w/ Cocoon. Hibernate needs to see all your persistent classes in the classpath, so now my WEB-INF/lib/ has links to my class files, and I guess that is why automatic recompilation doesn't work anymore.

Am I right?

Can anything be done to "have my cake and eat it too?"

thanks,
mark


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to