
lists at zopyx
Jul 27, 2010, 3:56 AM
Post #3 of 3
(632 views)
Permalink
|
|
Re: [GS] Running a setuphandler as first step
[In reply to]
|
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 :-> 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-----
|