Bug about PRODUCT_DIR
Up to Plone Skin Dump
I created an account at your trac, but I don't have enough permissions it seems to add a ticket, so I post it here:
In my setup I have plone-skin-dump installed in a "DevProducts"-folder instead of just "Products"-folder, using the products-directive in zope.conf.
plone-skin-dump fails the find the "skin_template"-folder in the "DevProducts"-folder, since "Products" is hardcoded in utils.py
I added to config.py:
from Globals import package_home
PRODUCT_DIR = package_home(GLOBALS)
instead of refactoring everything, I quickly hacked utils.py
def getProductsFSPath():
""" Return Plone instance Product's file system directory path."""
#cfg = getConfiguration()
#return ospJoin(cfg.instancehome,'Products')
return '/'.join(PRODUCT_DIR.split('/')[:-1])
But it's better to get rid getProductsFSPath() altogether, I think.
Hello Wouter Vanden Hove,
I add you decision to qPSD in http://svn.quintagroup.com/products/qPloneSkinDump/trunk , revision 894
thanks for helping.
