Heya, That really depends on your application. You'd usually do it in `init_autoload.php` in your application (if it follows the skeleton application structure) or eventually use the default installation via composer.
Marco Pivetta http://twitter.com/Ocramius http://marco-pivetta.com On 20 September 2012 09:09, tridem [via Zend Framework Community] < ml-node+s634137n4656956...@n4.nabble.com> wrote: > Hi Luke,**** > > that is my problem. I recently started with ZF2 and followed this tutorial: > **** > > http://www.jasongrimes.org/2012/01/using-doctrine-2-in-zend-framework-2/** > ** > > ** ** > > Even the github at**** > > https://github.com/doctrine/DoctrineORMModule**** > > “only” states:**** > > “The module depends on Doctrine ORM 2.3.*<https://github.com/doctrine/orm>, > Doctrine DBAL 2.3.* <https://github.com/doctrine/dbal>, Doctrine > Migrations <https://github.com/doctrine/migrations>. You have to > download/install those packages and have them autoloaded.”**** > > ** ** > > Sorry, but I couldn’t find a hint where to put this autoloading. Is there > a specific file in should put it in for global access, should it be added > to a module only config or**** > > by setting an include path inside the virtual host or my index.php and how? > **** > > ** ** > > Thanks in advance!**** > > ** ** > > *Von:* luk [via Zend Framework Community] [mailto:[hidden > email]<http://user/SendEmail.jtp?type=node&node=4656956&i=0>] > > *Gesendet:* Mittwoch, 19. September 2012 16:36 > *An:* tridem > *Betreff:* Re: WG: [ZF2][Doctrine2] Autogeneration of entity classes**** > > ** ** > > *tridem wrote* > > A short question: > > Where do I have to set the autoloading for Doctrine since I am getting > this > error: > > Fatal error: Class 'Doctrine\Common\Annotations\AnnotationRegistry' not > found in. **** > > Please make sure that your Doctrine lib is properly integrated with Zend > Framework. For me it looks like it isn't. **** > > Cheers, -- Luke Mierzwa **** > > ** ** > ------------------------------ > > *If you reply to this email, your message will be added to the discussion > below:* > > > http://zend-framework-community.634137.n4.nabble.com/WG-ZF2-Doctrine2-Autogeneration-of-entity-classes-tp4656940p4656941.html > **** > > To unsubscribe from Zend Framework Community, click here. > NAML<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > **** > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://zend-framework-community.634137.n4.nabble.com/WG-ZF2-Doctrine2-Autogeneration-of-entity-classes-tp4656940p4656956.html > To unsubscribe from Zend Framework Community, click > here<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634137&code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4> > . > NAML<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/WG-ZF2-Doctrine2-Autogeneration-of-entity-classes-tp4656940p4656957.html Sent from the Zend Framework mailing list archive at Nabble.com.