Re: Getting a generator class to reload

2005-01-21 Thread Nouguier Olivier
Hi Achim, I don't think it reload all the context as the reload is immediately effective. It works for component ( cocoon, struts ), I've just tried with servlet with this code, and it's okai. http://www.orcades.net/contrib/reloader-webapp.zip . The server.xml is the vanilla one. IMHO it this

Re: Getting a generator class to reload

2005-01-21 Thread Joachim Wackerow
Olivier This sounds interesting and like a great help for the development. Now I'm wondering, if this mechanism does really reload only the generator class of Cocoon, or if it does reload the Tomcat web application, i.e. Cocoon itself. Does this mechanism use the servlet reloading facility of T

Re: Getting a generator class to reload

2005-01-19 Thread Nouguier Olivier
Hi all, A very simple way is to start tomcat within eclipse ( sysdeo plugin http://www.sysdeo.com/eclipse/tomcatPlugin.html ). Tomcat must be started when last version of your classes lives in the WEB-INF/classes. ( using ant ) So the sequence *MUST* be: 1: copy classes in WEB-INF/classes 2:

Re: Getting a generator class to reload

2005-01-13 Thread Leszek Gawron
Joachim Wackerow wrote: I am writing a custom generator. It would be convenient to reload the class while Cocoon is running. How it is possible to reload just a generator class in Cocoon 2.1.6 running in Tomcat 5.x or 5.5, without reloading the whole Cocoon or without restarting Tomcat (ca. 30

Getting a generator class to reload

2005-01-13 Thread Joachim Wackerow
I am writing a custom generator. It would be convenient to reload the class while Cocoon is running. How it is possible to reload just a generator class in Cocoon 2.1.6 running in Tomcat 5.x or 5.5, without reloading the whole Cocoon or without restarting Tomcat (ca. 30 sec)? The generator cla