If you use symfony 1.2, you must read the UPDATE_TO_1_2 file and keep
reading it while we work on this new release.
Please, keep in mind that we make changes for this new release every
day. So, symfony 1.2 is not stable yet, and it is not suitable for
production usage. New features and new APIs are not stabilized yet and
are subject to change.
As of symfony 1.2, you must enable the plugins you want to use for some
good reasons: most of the time, you don't want Propel and Doctrine in a
single project, and you don't want the overhead of having both of them
loaded (and symfony comes with both plugins as of 1.2). It also allows
you to select the plugins you want to use in a project or application,
which is a feature a lot of people wanted.
As said in the UPDATE_TO_1_2 file, you can have the same behavior as in
symfony 1.0 and 1.1 by adding this line to your project configuration class:
$this->enableAllPluginsExcept('sfDoctrinePlugin');
It will enable all the plugins except the bundled doctrine one.
Fabien
--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80
Francois Zaninotto wrote:
> Well then you should enable your plugin in your project configuration.
> Apparently, in sf 1.2, all plugins are disabled by default, exactly
> the contrary as in previous versions.
>
> François
>
> 2008/9/25 Olivier Mansour <[EMAIL PROTECTED]>:
>>
>> 2008/9/25 Francois Zaninotto <[EMAIL PROTECTED]>
>>> did you enable the plugin in your project configuration?
>> no. Actually I havent yet an application in my projets, only tasks
>> my plugin just include several tasks, no modules.
>>
>> Olivier
>>
>>> François
>>>
>>> 2008/9/25 Olivier Mansour <[EMAIL PROTECTED]>:
>>>> any ideas ?
>>>>
>>>> I still can't find my plugin task in the default list proposed by
>>>> ./symfony
>>>> command
>>>> your opinion, is it a sf1.2 bug ?
>>>>
>>>> 2008/9/24 Olivier Mansour <[EMAIL PROTECTED]>
>>>>> hello
>>>>>
>>>>> with sf1.2, a task declared in a plugin is not autoloaded.
>>>>> (blablaTask.class.php under myPlugin/lib/task). When copying this file
>>>>> under
>>>>> the lib/task directory I can access to this task.
>>>>> Is there any change in sf1.2 about autoloading or plugin structure ?
>>>>>
>>>>> thanks
>>>>> Olivier
>>>>>
>>>>> --
>>>>> Olivier Mansour
>>>>> [EMAIL PROTECTED]
>>>>> http://www.glagla.org
>>>>
>>>>
>>>> --
>>>> Olivier Mansour
>>>> [EMAIL PROTECTED]
>>>> http://www.glagla.org
>>>>
>>>
>>
>>
>> --
>> Olivier Mansour
>> [EMAIL PROTECTED]
>> http://www.glagla.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
-~----------~----~----~----~------~----~------~--~---