Hi all,
Currently I am developing a new generator to integrate in cocoon, but
the development goes really slowly for me. In fact every time I change
something in the code I stop tomcat, i copy the compiled class to
cocoon's WEB-INF/classes directory and then I restart tomcat.
As it takes a while, I decided to try to just replace the class file
with the new one without restarting tomcat. And it worked. But only
once. After it I was getting ClassNotFoundException every time I
accessed cocoon. Even rebooting tomcat didn't solve the problem.
After renaming my class, and emptying the tomcat's work directory eventually it worked again (no idea what was the problem).
So, the questions:
* What is the best way to procede when developing / testing new components?
* Should I restart cocoon / tomcat on every change in my classes?
Thank's in advance
--
--van--
cocoon components development best practices
Ivan Bogouchev / Иван Богушев Fri, 05 Aug 2005 07:44:53 -0700
