Stephane Delort wrote:

Hi,


I made some JAVA files and put thme on$COCOON/webapp/WEB-INF/classes/whatever/...

Then, I must restart Cocoon each time I change a file if I want to have my
changes handled (compile my java files and then restart cocoon)

But, now I wouldn't like to restart Cocoon no more as some parts of my
website are used in production environment but, on the other hand, still
continue to develop my java files.

Is there a way to do this ?



If you're using Tomcat, you can tell it to reload changed classes. It usually takes around two seconds from saving the new class before it notices.

The other way is that, if you are using a debugger, and you hit a breakpoint within your code, you can change, and recompile, that class, and the debugger will restart the execution of the method that it was in at that point. Whilst it doesn't cover all scenarios, it is an extremely useful feature that has saved me stacks of debugging time.

Regards, Upayavira



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



Reply via email to