Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.
  1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    7
    Vote Rating
    0
    francesco.basenghi is on a distinguished road

      0  

    Default [WINDOWS] [COMMAND LINE]: impossible to generate app on paths with spaces

    [WINDOWS] [COMMAND LINE]: impossible to generate app on paths with spaces


    When dealing with paths that contain spaces it is impossible under windows to escape the spaces.
    One is obliged to generate the sencha app stub in a directory wich name contains no spaces, then manually copy it elsewere.

    Under windows, a path like
    c:\inetpub\wwwrooot\sencha touch mobile demo app\
    must be escaped enclosing it in doublequotes, 'cause spaces are interpreted like parameter separators under dos.

    running the sencha command line tool with a sintax like
    sencha generate app Namespace "c:\inetpub\wwwrooot\sencha touch mobile demo app\"
    will result in an error reporting
    cannot write to target dir '{'0'}'

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,330
    Vote Rating
    847
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Using Sencha Cmd 3.0.2 and Sencha Touch 2.1.0 GPL, I executed this on a WIndows 7 machine:

    Code:
    sencha generate app MyApp "../MyApp Spaced"
    and it generated the app correctly for me.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jan 2013
    Posts
    7
    Vote Rating
    0
    francesco.basenghi is on a distinguished road

      0  

    Default


    I'm at home right now and I can't remember exactly which versions I've installed on my office machine; I'm pretty sure btw that i downloaded the latest sources and binaries 'couse I'm starting anew in learning Sencha touch and ext js.

    Probably it's a matter of OS version which on my box is WINXP.
    Tomorrow I'll try the process on a WIN7 rig.

    Thank you for the reply

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,330
    Vote Rating
    847
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I would also make sure to try on the latest release of Sencha Cmd: http://www.sencha.com/forum/showthre...-Now-Available
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1