symfony/symfony — Issue #2688: Entities are generated in wrong folder (doctrine:generate:entities Namespace)
Author: DavidChristmann
Created: 2011-11-21 15:37:04+00:00
State: open

Hi,

in our project we have some bundles from the same root-namespace "**ABC**" stored under "**vendors/bundles/ABC**" and some bundles under "**src/ABC**".

Running the command "**$php app/console doctrine:generate:entities ABC**" from the commandline generates the entities from "**src/ABC/**" under "**vendors/bundles/ABC/**" or vice versa depending on their order in the bundle array in the Appkernel.php.

A workaround is to generate only the needed bundle: "**$php app/console doctrine:generate:entities ABC/MyBundle**"