[Zope-CMF] [GS] Running a setuphandler as first step

Andreas Jung lists at zopyx.com
Tue Jul 27 06:56:35 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hanno Schlichting wrote:
> 2010/7/27 Andreas Jung <lists at zopyx.com>:
>> I have the requirement to execute my own setuphandler.py inside my own
>> profile before GenericSetup applies all other steps (*.xml) file.
>> Is there a way to configure this requirement somehow in import_steps.xml?
> 
> import_steps.xml is deprecated, register the handlers in ZCML.
> Handlers registrations are global and not specific to a profile, so it
> didn't make sense to keep them inside a profile.
> 
> You could maybe configure two profiles for your package. Have the
> first only do your custom step and depend on the second "real" profile
> via a dependency in metadata.xml. Maybe that works. Otherwise there's
> no explicit support for ordering a step before another step. Steps
> only have dependencies which cause them to execute after other steps.

argh...holy crap :->

Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxOu2MACgkQCJIWIbr9KYzW1gCguuhlsmheZ9mieXsScIecgWsL
8l8An0H3S4NLkAy5ta601IfUA0/JwmPO
=w2EF
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 330 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-cmf/attachments/20100727/915ca30b/attachment.vcf 


More information about the Zope-CMF mailing list