[Setup] Re: buildout: register ZCML slugs other than 'configure',
'meta' or 'overrides'
dominikruf at googlemail.com
Wed Feb 10 16:03:05 UTC 2010
thanks for your reply
Making a product feels kinda wrong since it is just a simple configuration
and I hoped to put everything configuration related in one place the
With a slug file I would have to remember to add it every time I (re-)run
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] <
ml-node+4548080-1189031081 at n2.nabble.com<ml-node%2B4548080-1189031081 at n2.nabble.com>
> Dominik wrote:
> > Hi,
> > to activate iw.fss for the standard plone content type file, image and
> > 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
> > 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
> > thanks in advance
> > dominik
> Setup mailing list
> [hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4548080&i=0>
> View message @
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Setup