Hi, I just worked on this issue and think I have a good solution: You don't really replace the current procedure. You refactor the > existing code by extracting the web asset part to make a new task and > call it from the old code.
I chose an even better way (at least I think its better :-)). I left the current code intact and just added a new plugin-task: plugin:configure-core The only purpose of this task is to iterate over the core plugins and send the plugin.post_install event. I introduced a "sourceDirectory" parameter for this event so that the PluginManager can now use a different directory rather than the current plugin installation directory if requested. It works fine for the use cases I had in mind and is a very lightweigth solution. And it is extensible as well. If we need some more "plugin general" post installation steps, we can just add them in sfSymfonyPluginManager.class#ListenToPluginPostInstall() I have not started calling this task from the create project/upgrade tasks, because I first want to let you review this task and check if it is a good idea to do so. If required we could refactor it to a general "rerun post install for all plugins" invoker task. Regards .: Fabian PS: http://trac.symfony-project.org/changeset/11005 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---
