[Zope] Reimporting products without restarting server

Chui Tey teyc@bigfoot.com
Thu, 9 Mar 2000 09:19:12 +1000


Having a slow machine, not having to restart the server when testing is
important for me (it is a 20 second start up for me).
Is there a script around to let me do this... ?

Here is what I have done so far (using bits of snippet from the source):

log into the monitor, and do this:

import Zope
app = Zope.app
c=app()
OFS.Application.initialize(c)
c._p_jar.close()
del c

The net result is all items in the the "Add New Item" combobox double up,
and I am not even sure if this does the trick...