This should be supported by default imo since it's in the bundle guidelines.
Please report a bug on http://trac.symfony-project.org/ with the 2.0.x version, so we don't lose it. Cheers On 09.01.2011 23:00, gordonslondon wrote: > With Symfony2 we can create a bundle name like this: > - Bundle\FrameworkExtraBundle > but we can also add the bundle in a sub-folder: > - Bundle/Sension/FrameworkExtraBundle > > When calling console commands, who required arguments like --bundle or > --namespace : > > - doctrine:migrations:diff --bundle=Bundle\\Sension\\FrameworkBundle > - init:bundle --namespace=Bundle\\Sension\\FrameworkBundle > > > We have an error: > > [InvalidArgumentException] > Unable to initialize the bundle (. is not a defined namespace). > Defined namespaces are: Application, Bundle, Symfony\Bundle > > > You can find an example of code in > Symfony\Bundle\FrameworkBundle\Command\InitBundleCommand.php line 56. > I have created a test case which shows the problem, you can find it > here: http://pastebin.com/JGKscGyY. > Does anyone can solve the test case ? > > -- > If you want to report a vulnerability issue on symfony, please send it > to security at symfony-project.com > > 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 -- Jordi Boggiano @seldaek :: http://seld.be/ -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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
