1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    44
    Answers
    1
    Vote Rating
    3
    dkamins is on a distinguished road

      0  

    Default Answered: "sencha" command running wrong version?

    Answered: "sencha" command running wrong version?


    I want to run `sencha app create`, but my "sencha" command seems to be running the old (SDK Tools?) version. I don't really understand the difference, but I'm trying to follow http://docs.sencha.com/touch/2-0/#!/guide/command but am getting the wrong output.

    It's supposed to say "Sencha Command v2.0.0 for Sencha Touch 2" and have reddish command names, but I get the old output (see below):

    Code:
    $ which sencha
    /Applications/SenchaSDKTools-2.0.0-Beta/bin/sencha
    
    
    $ pwd
    /Applications/SenchaSDKTools-2.0.0-Beta
    
    
    $ sencha
    Sencha Command v2.0.0 Beta
    Copyright (c) 2012 Sencha Inc.
    
    
    usage: sencha COMMAND [ARGS]
    
    
    The available commands are:
       build            build a JSB project
       create bootstrapdata        generate boostrap data
       create jsb            generate a minimal JSB project for an app
       create locale            generate a template locale file from source
       create manifest        generate classes manifest
       package            package your Touch web app into a native bundle
       slice theme            slice a custom theme's images for IE
    
    
    See 'sencha help COMMAND' for more information on a specific command.
    EDIT: I have an already existing Sencha Touch 2 project, in which running "sencha" DOES run the right version, so I know I have it on my system. But something is wrong with that project, so I'm trying to create a new one.

  2. i think i have seen this before...
    try the sencha command in the Sencha Touch 2.0.0 sdk folder instead of the senchasdk.. so navigate into the folder where you extracted the Touch SDK, not where you installed tne Sencha SDK. a lot of people get confused by this i think, maybe sencha should do something about that.

    best regards,
    jack

  3. #2
    Sencha User
    Join Date
    Oct 2011
    Posts
    14
    Answers
    1
    Vote Rating
    1
    7C Dev is on a distinguished road

      0  

    Default


    i think i have seen this before...
    try the sencha command in the Sencha Touch 2.0.0 sdk folder instead of the senchasdk.. so navigate into the folder where you extracted the Touch SDK, not where you installed tne Sencha SDK. a lot of people get confused by this i think, maybe sencha should do something about that.

    best regards,
    jack

  4. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    44
    Answers
    1
    Vote Rating
    3
    dkamins is on a distinguished road

      0  

    Default


    Thanks 7C Dev, that was it. Having multiple parallel (and overlapping in functionality) "sencha" command line tools that run differently depending on what directory you're in is extremely confusing.

Thread Participants: 1

Tags for this Thread

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