I just commented the Doctrine section of the autoload and the problem is solved.

Conclusion :
  - the plugins autoload parses all classes from the plugins directory
  - doctrine's autoload class re-do the job

Something bad is that propel classed are indexed too, so the autoload
array have 200 entries which are never used and can add some overhead
while loading classes.

Index: plugins/sfDoctrinePlugin/config/autoload.yml
===================================================================
--- plugins/sfDoctrinePlugin/config/autoload.yml        (revision 12023)
+++ plugins/sfDoctrinePlugin/config/autoload.yml        (working copy)
@@ -1,9 +1,9 @@
 autoload:
-  Doctrine:
-    name:       Doctrine classes
-    ext:        .php
-    path:       <?php echo realpath(dirname(__FILE__) . '/../lib') . "\n"; ?>
-    recursive:  on
+#  Doctrine:
+#    name:       Doctrine classes
+#    ext:        .php
+#    path:       <?php echo realpath(dirname(__FILE__) . '/../lib') . "\n"; ?>
+#    recursive:  on
   doctrine_model_classes:
     name:       Doctrine model classes
     ext:        .php


On Wed, Oct 8, 2008 at 6:14 PM, Jonathan Wage <[EMAIL PROTECTED]> wrote:
> hmm, they are defined twice? Any ideas why?
>
> Sure, create a ticket and any information you find out.
>
> - Jon
>
> On Wed, Oct 8, 2008 at 7:55 AM, Thomas Rabaix <[EMAIL PROTECTED]>
> wrote:
>>
>> Hello,
>>
>> Doctrine class are defined twice in config_autoload.yml.php, and
>> propel classes get indexed too if we use only doctrine.
>>
>> Maybe something should be done in sf1.2 ...
>>
>> should I open a ticket ?
>>
>>
>> --
>> Thomas Rabaix
>> Internet Consultant
>>
>>
>
>
>
> --
> Jonathan H. Wage
> Open Source Software Developer & Evangelist
> http://www.jwage.com
>
> >
>



-- 
Thomas Rabaix
Internet Consultant

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to