Results 1 to 4 of 4

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

    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
      0  

    Default [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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Jan 2013
    Posts
    7
    Vote Rating
    0
      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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •