[Zope3-dev] py file reloading
Ulrich Schreiner
ulrich.schreiner@innuendo.de
Fri, 23 May 2003 13:12:27 +0200
quixote:
same problem -> same solution :-)
but quixote is much smaller than zope so this is such a big problem.
thx
</usc>
Steve Alexander wrote:
> Ulrich Schreiner wrote:
>
>> hi,
>>
>> what about reloading of python files when developing? i have the
>> jobboard demo here and running. but when changing some py-sources i
>> have to restart zope3.
>
>
> Yes.
>
>> is it possible to force zope to reload? via URL, via xml-rpc, ...? no,
>> not via command line!
>
>
> No.
>
>> i think this question is not new in this list, but i did not found an
>> answer. and it is not new to webapp servers; in the quixote
>> mailinglist there is a huge thread about it :-).
>
>
> This kind of thing will not generally be possible for code that is on
> the filesystem. It will be possible, and well-supported, for code that
> is stored in the ZODB.
>
> You'll be able to check code out of Zope, with a cvs-like command, alter
> it, and check it back in. It will be "refreshed" as you check it back in.
>
> http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/FileSystemSynchronizationProposal
>
>
>
> What are they doing in quixote?
>
> --
> Steve Alexander
>
>