lists at zopyx
Jul 27, 2010, 3:56 AM
Post #3 of 3
-----BEGIN PGP SIGNED MESSAGE-----
Re: [GS] Running a setuphandler as first step
[In reply to]
Hanno Schlichting wrote:
> 2010/7/27 Andreas Jung <lists [at] zopyx>:
>> 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 :->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----