Zope 2.6 external PRODUCTS_PATH don't work
Hello With Zope 2.6 I use a external PRODUCTS_PATH folder. example: set PRODUCTS_PATH=c:\projects\zopeProducts;c:\webapps\zope260\lib\python\Pro ducts; This example works in Zope 2.5.1 whats changed in 2.6 The products in this folder don't find import classes in the real python/lib/Products folder. Mit freundlichen GrĂ¼ssen Roger Ineichen ___________________________ Projekt01 GmbH www.projekt01.ch Langackerstrasse 8 6330 Cham phone +41 (0)41 781 01 78 mobile +41 (0)79 340 52 32 fax +41 (0)41 781 00 78 email r.ineichen@projekt01.ch ___________________________ END OF MESSAGE
Hi Roger, I *believe* support for PRODUCTS_PATH was dropped in favour of the possibility to move Data.fs between easier between Windows and Linux. If I am rigth, this was a poor decision. Robert Projekt01, Roger Ineichen wrote:
Hello With Zope 2.6 I use a external PRODUCTS_PATH folder. example: set PRODUCTS_PATH=c:\projects\zopeProducts;c:\webapps\zope260\lib\python\Pro ducts;
This example works in Zope 2.5.1 whats changed in 2.6
The products in this folder don't find import classes in the real python/lib/Products folder.
Mit freundlichen GrĂ¼ssen Roger Ineichen ___________________________ Projekt01 GmbH www.projekt01.ch Langackerstrasse 8 6330 Cham phone +41 (0)41 781 01 78 mobile +41 (0)79 340 52 32 fax +41 (0)41 781 00 78 email r.ineichen@projekt01.ch ___________________________ END OF MESSAGE
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Projekt01, Roger Ineichen wrote:
With Zope 2.6 I use a external PRODUCTS_PATH folder. example: PRODUCTS_PATH=c:\projects\zopeProducts;c:\webapps\zope260\lib\python\Products;
This example works in Zope 2.5.1 whats changed in 2.6
Nothing has changed that I know of, but you would be better off in any case writing this as: PRODUCTS_PATH=c:\projects\zopeProducts;%(PRODUCTS_PATH)s This way, Products in your INSTANCE_HOME will also be included. Cheers, Evan @ 4-am
participants (3)
-
Evan Simpson -
Projekt01, Roger Ineichen -
robert