Hello, I'm writing some external methods which I have locally on my laptop. When a fix is done in a method I put the module in the Extensions directory on the server. Since it is quite many methods I want to reload all external methods which lies in a folder. I've used much time on clicking the upload button for each of the external method I've created (quite boring after a while). Is it possible to automate this process, without uploading each method when I've done some change in a method. Geir Arne Evjen
geir, if you application relies on a lot of external methods, have you ever thought about refactoring it into a real python zope product? it sounds like you have crossed the threshold of maintainability, it becomes hard to keep track of it all. jens P.S.: you can always restart zope to reload them all at once... or run in debug mode, but that is not really recommended for production sites. On Friday, August 23, 2002, at 05:14 , Geir Arne Evjen wrote:
Hello, I'm writing some external methods which I have locally on my laptop. When a fix is done in a method I put the module in the Extensions directory on the server. Since it is quite many methods I want to reload all external methods which lies in a folder. I've used much time on clicking the upload button for each of the external method I've created (quite boring after a while) . Is it possible to automate this process, without uploading each method when I've done some change in a method.
Geir Arne Evjen
Geir Arne Evjen writes:
I'm writing some external methods which I have locally on my laptop. When a fix is done in a method I put the module in the Extensions directory on the server. Since it is quite many methods I want to reload all external methods which lies in a folder. I've used much time on clicking the upload button for each of the external method I've created (quite boring after a while). Is it possible to automate this process, without uploading each method when I've done some change in a method. Write a script that locates all External Method instances (via ZCatalog or ZopeFind) and then calls the edit method automatically.
Dieter
participants (3)
-
Dieter Maurer -
Geir Arne Evjen -
Jens Vagelpohl