--On 10. Februar 2008 19:35:38 +0100 Joachim Schmitz <[EMAIL PROTECTED]> wrote:
Andreas Jung schrieb:--On 10. Februar 2008 18:34:54 +0100 Joachim Schmitz <[EMAIL PROTECTED]> wrote:What is the recommended method to make the conflict-resolution-code available to the zeo-server ? Is there a "Products" directive for zeo.conf ?I think it is sufficient that the Products directory is in the PYTHONPATH or available through sys.path.would something like: INSTANCE_PRODUCTS="/home/Zope/instances/waeup/Products"
'Products' is too much since import usually start with 'from Product.XXXX import ....'
ZODB3_HOME="/home/Zope/install/z296/lib/python" PYTHONPATH="$ZODB3_HOME:$INSTANCE_PRODUCTS" export PYTHONPATH INSTANCE_HOME in zeoctl do, and how can I check that it is realy effective ?
Good question...you know that this will work only for code thatimplements its own conflict resolution afaik (which is does not happen very often).
Description: PGP signature
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )