[Product-Developers] GS/QS installing issues on Plone 3.1
Wichert Akkerman
wichert at wiggy.net
Mon May 12 15:54:33 UTC 2008
Previously Andreas Jung wrote:
> - how do you define additional 3rd-party products that should be installed
> additionally (should replace installProduct() calls as one did in former
> times within Extenstions/Install.py)?
List your profile dependencies in metadata.xml. See the PLIP195 text for
the necessary documentation.
> - while having an extension profile and a local Extension/Install.py file,
> the Install.install() does not seem to be executed using this approach?
> Or am I missing something? In my case I need additional actions being
> taken (e.g. for setting up some vocabularies with ATVocabularyManager).
Extension/Install.py is an alternative for the GenericSetup profile, you
can only use one, not both. IOf you need to run python code in addition
to what your profile does you need to define a custom import step,
preferably registered via zcml.
Wichert.
--
Wichert Akkerman <wichert at wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
More information about the Product-Developers
mailing list