On 1 Mrz., 23:22, Jonathan Wage <[email protected]> wrote: > In that case it would load the one in the project plugins folder, and > sfSympalPlugin wouldn't load the bundled plugin if it has already been > loaded.
I think to solve this, two things must be changed in the sfProjectConfiguration class: - additionally search for plugins in plugins/*/plugins - allow to lazy load (enable) plugins Then, in your plugin configuration class you can enable plugins/ sfSympalPlugin/plugins/sfDoctrineGuardPlugin when a "sfDoctrineGuardPlugin" was not enabled before. It should not make a difference no matter where a plugin is loaded from. But I wonder why you really need this? Using dependencies with the pear installer should do it. ;-) regards, Matthias > > > > On Sun, Mar 1, 2009 at 9:40 AM, naholyr <[email protected]> wrote: > > > And what if you have "plugins/sfSympalPlugin/subPlugins/ > > sfDoctrineGuardPlugin" AND "plugins/sfDoctrineGuardPlugin" ? Which one > > will be the good plugin to load ? > > We'd have to deal with very architecture-specific issues like "in what > > order my plugins are loaded ?", and I hate this idea which reminds me > > bad days passed on things like Typo3 :P > > > On 1 mar, 00:08, Bernhard Schussek <[email protected]> wrote: > > > Hi Jon, > > > > I already thought about that matter as well, but I don't know of any > > > way how this can be achieved. I guess this could be a nice addition > > > for symfony 1.3, together with a few other plugin enhancements such as > > > better supported plugin unit&functional testing. > > > > Bernhard > > -- > Jonathan H. Wage > Open Source Software Developer & > Evangelisthttp://www.jwage.comhttp://www.doctrine-project.orghttp://www.symfony-project.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
