What is the recommended method to make the conflict-resolution-code available to the zeo-server ? Is there a "Products" directive for zeo.conf ? -- Gruß Joachim
--On 10. Februar 2008 18:34:54 +0100 Joachim Schmitz <js@aixtraware.de> 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. -aj
Andreas Jung schrieb:
--On 10. Februar 2008 18:34:54 +0100 Joachim Schmitz <js@aixtraware.de> 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" 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 ? -- Gruß Joachim
--On 10. Februar 2008 19:35:38 +0100 Joachim Schmitz <js@aixtraware.de> wrote:
Andreas Jung schrieb:
--On 10. Februar 2008 18:34:54 +0100 Joachim Schmitz <js@aixtraware.de> 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 that implements its own conflict resolution afaik (which is does not happen very often). Andreas
You might be interested in: https://bugs.launchpad.net/zope2/+bug/143770 Joachim Schmitz wrote:
Andreas Jung schrieb:
--On 10. Februar 2008 18:34:54 +0100 Joachim Schmitz <js@aixtraware.de> 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" 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 ?
participants (3)
-
Andreas Jung -
Chris McDonough -
Joachim Schmitz