I just tried on windows and it works fine for me.

On Mon, May 30, 2011 at 9:24 AM, ryan weaver <[email protected]> wrote:
> Hey guys-
> I've never had problems when using the single backslash (in fact, I'm the
> one who wrote all of that language in this task). Is there a platform where
> the single slash doesn't work? The following works perfectly for me on OSX:
>         php init:bundle "Acme\FooBundle" src
> Ryan Weaver
> US Office Head & Trainer - KnpLabs - Nashville, TN
> http://www.knplabs.com
> http://www.thatsquality.com
> Twitter: @weaverryan
>
>
> On Mon, May 30, 2011 at 7:06 AM, Christian Heinrich
> <[email protected]> wrote:
>>
>> However, maybe the help should be updated then because they explicitly
>> give "Acme\FooBundle" as an example.
>>
>> At least a hint should be added that there might be need to add another
>> backslash.
>>
>> > Le 30/05/2011 13:17, Douglas Greenshields a écrit :
>> > > When trying to use the init:bundle command as follows (and as per the
>> > > help):
>> > >
>> > > Symfony>  init:bundle "Acme\FooBundle" src
>> > >
>> > > I got the following error:
>> > >
>> > >
>> > > [InvalidArgumentException]
>> > >    The namespace must contain a vendor namespace (e.g. "VendorName
>> > > \AcmeFooBundle" instead of simply "AcmeFooBundle").
>> > >
>> > >    If you've specified a vendor namespace, did you forget to surround
>> > > it with quotes (init:bundle "Acme\FooBundle")?
>> > >
>> > > I suspected that the backslash between the vendor name and the bundle
>> > > name was being used as an escape character, and tried:
>> > >
>> > > Symfony>  init:bundle "Acme\\FooBundle" src
>> > >
>> > > which, indeed, successfully created the bundle.
>> > >
>> > > So the question is:  what's the intended syntax here?  Is it a bug in
>> > > the implementation or the help/documentation?  I'd create a PR but I
>> > > don't know which way round would be correct.
>> > >
>> > > Thanks
>> > >
>> > > Douglas
>> > >
>> > It is not a bug. \ is the escaping character of your command line. And
>> > \F may be a special character.
>> >
>> > --
>> > Christophe | Stof
>> >
>>
>>
>>
>> --
>> 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
>
> --
> 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
>



-- 
Kevin

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

Reply via email to