thanks for your reply Making a product feels kinda wrong since it is just a simple configuration issue and I hoped to put everything configuration related in one place the buildout.cfg. With a slug file I would have to remember to add it every time I (re-)run buildout
So zcml += iw.fss-atct would be the perfect solution. Just out of interest can somebody tell me what's reason why the recipe only allows 'configure', 'meta' and 'overrides' On Wed, Feb 10, 2010 at 3:10 PM, Raphael Ritz [via Plone] < [email protected]<ml-node%[email protected]> > wrote: > Dominik wrote: > > > Hi, > > > > to activate iw.fss for the standard plone content type file, image and > news > > item the documentation recommends to add a slug with the line > > > > <include package="iw.fss" file="atct.zcml" /> > > > > My idea was to add the line > > > > zcml += iw.fss-atct > > > > to my buildout.cfg so I don't have to create the file by hand. > > But this dosn't work since plone.recipe-zope2instance only allows > > 'configure', 'meta' or 'overrides' zcml files and throws an exception > > > > File > > > "\buildout-cache\eggs\plone.recipe.zope2instance-3.3-py2.4.egg\plone\recipe\zope2 > > > instance\__init__.py", line 655, in build_package_includes > > raise ValueError('Invalid zcml', orig) > > ValueError: ('Invalid zcml', 'iw.fss-profiles') > > > > So now my question is "is there an other way to create the slug with > > buildout"? > > Not that I would know. > > But as soon as you have your own site/customization/whatever product > you could simply add that line to your own package's configure.zcml > file. > > Raphael > > > > > > thanks in advance > > dominik > > > _______________________________________________ > Setup mailing list > [hidden > email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4548080&i=0> > http://lists.plone.org/mailman/listinfo/setup > > > ------------------------------ > View message @ > http://n2.nabble.com/buildout-register-ZCML-slugs-other-than-configure-meta-or-overrides-tp4547854p4548080.html > To unsubscribe from buildout: register ZCML slugs other than 'configure', > 'meta' or 'overrides', click here< (link removed) =>. > > > -- View this message in context: http://n2.nabble.com/buildout-register-ZCML-slugs-other-than-configure-meta-or-overrides-tp4547854p4548808.html Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
_______________________________________________ Setup mailing list [email protected] http://lists.plone.org/mailman/listinfo/setup
