1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
    luchao is on a distinguished road

      0  

    Default "sencha create *" don't work but no error

    "sencha create *" don't work but no error


    Untitled.jpgi download "SenchaSDKTools-2.0.0-Beta-windows.exe" today(04/12/2012) and installed successfully.

    Q.1. The first time i rum "sencha" command line, show error :"Error: Can not find ..\command\sencha.js"
    BUT i run it the second time, it works and show the some related information.

    Q.2 i run command "sencha create jsb -a index.html -p mta.jsb3" in my project root directory.
    no error and no file was created.

    the pic show all the process.

    when i type the wrong command, i can get the command help, so the command line partly work.
    only does not work in EXT JS 4. SENCH TOUCH work fink.
    The subject was already open: here

  2. #2
    Sencha User
    Join Date
    Sep 2011
    Location
    China
    Posts
    8
    Vote Rating
    0
    losingrose is on a distinguished road

      0  

    Default


    I also had the same problem.
    I had create a "JSBGenerator" winform application to solve the problem.
    And I build the "all-calsses.js" successfully with "app.jsb3" created by my "JSBGenerator".
    But I found a new problem that the "all-calsses.js" did not compressed,and the command line did not show any error only some [notice]
    Code:
     ......
    [NOTICE][Parser.Statement.factory] Statement type 'locale' is currently not supported, ignored  * Compress and obfuscate all-classes.js...
    Copy resources...
    Done building!
    It show "Done" but "all-classes.js" has not to be compressed.

    Now I find the reason is the chinese characters in the path.

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    10
    Vote Rating
    0
    Intern is on a distinguished road

      0  

    Default


    The subject was already open: here

  4. #4
    Sencha Premium Member
    Join Date
    Mar 2012
    Location
    Scotland
    Posts
    111
    Vote Rating
    2
    delp is on a distinguished road

      0  

    Default


    install to C:\Program Files and

    NOT
    C:\Program Files\SenchaSDKTools-2.0.0-Beta

    It appears that when you install it to the above the create option doesn't exist, but you need to use generate instead. Not 100% if this is the correct option but it works. I'm presuming that generate is the new create.

  5. #5
    Sencha User
    Join Date
    Apr 2012
    Posts
    10
    Vote Rating
    0
    Intern is on a distinguished road

      0  

    Default


    Doesn't work for me...
    I've tried both create and generate with both installation (one in ProgramFiles and one in ProgramFiles\Sencha...). It does not create any jsb3 file...

    The jsb3 file should appear in the same folder than the index.html file, right ?

  6. #6
    Sencha Premium Member
    Join Date
    Mar 2012
    Location
    Scotland
    Posts
    111
    Vote Rating
    2
    delp is on a distinguished road

      0  

    Default


    So just to make sure you're doing the same thing.
    1) install SDK TOOLS to C:\Program Files
    2) install SDK to your web server root such as C:\xampp\htdocs\touch (touch is the folder I put the SDK into)
    3) open the cmd promt and go to your SDK folder ( C:\xampp\htdocs\touch )
    4) type command\sencha
    5) you should now see the available options.


    If you then type something like this (without quotes) "command\sencha app create MyApp /path/to/www/myapp" you should have a newly created app, you can also do the following which as far as I can tell does exaclty the same thing. "command\sencha generate app MyApp /path/to/www/myapp". So Generate and Create appear to be the same thing.

  7. #7
    Sencha User
    Join Date
    Apr 2012
    Posts
    10
    Vote Rating
    0
    Intern is on a distinguished road

      0  

    Default


    I think so, when I type "command\sencha" the "create jsb" command is available, I read the help about it but I can't manage to make it work.

  8. #8
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    0
    luchao is on a distinguished road

      0  

    Default


    Thanks for u answer. what u said is SENCHA TOUCH, but my question is about sencha Ext JS 4. i also can do what u do SUCCESSFULLY.

    The command of sencha touche is located in root directory of sencha touche SDK, but the command line of Ext JS is located in SenchaSDKTools(not in the directory of EXT JS api, we need to install SenchaSDKTools-2.0.0-Beta-windows.exe to get it )

    also, when i wrote the wrong command line, i will get some help. so i think the command line partly work.

    Quote Originally Posted by delp View Post
    So just to make sure you're doing the same thing.
    1) install SDK TOOLS to C:\Program Files
    2) install SDK to your web server root such as C:\xampp\htdocs\touch (touch is the folder I put the SDK into)
    3) open the cmd promt and go to your SDK folder ( C:\xampp\htdocs\touch )
    4) type command\sencha
    5) you should now see the available options.


    If you then type something like this (without quotes) "command\sencha app create MyApp /path/to/www/myapp" you should have a newly created app, you can also do the following which as far as I can tell does exaclty the same thing. "command\sencha generate app MyApp /path/to/www/myapp". So Generate and Create appear to be the same thing.

  9. #9
    Sencha Premium Member
    Join Date
    Mar 2012
    Location
    Scotland
    Posts
    111
    Vote Rating
    2
    delp is on a distinguished road

      0  

    Default


    glad I could help, I'm still trying to figure it out as well

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi