Comment 0 for bug 143232

Revision history for this message
Rodrigo Senra (rsenra) wrote :

Uploaded: extension_conf.patch

This patch adds the directive 'extensions' to zope.conf. If overriden in zope.conf, then the specified directory will be used for ExternalMethods instead of the default $INSTANCE/Extensions.

This was discussed in the zope users list under the subject 'Give 'Extensions' a configurable directory in zope.conf'.

The changes so far relative to svn truck are:

   * /lib/python/Products/ExternalMethod/help/ExternalMethod.py

     - docstring comment

   * /lib/python/Products/ExternalMethod/ExternalMethod.py

     - little typos (not related, but since I was there <wink>)
     - docstring comment

   * /etc/zope.conf

     - new directive 'extensions', comments and example

   * /lib/python/Zope/Startup/zopeschema.xml

     - new directive 'extensions' (type key)

   * /lib/python/App/Extensions.py

     - in getPath() check if directive 'extensions' is overriden in zope.conf,
       and use it instead.