1. #1
    Sencha User
    Join Date
    Jun 2009
    Posts
    411
    Vote Rating
    2
    parky128 is on a distinguished road

      0  

    Default Need a reminder on using the upgrade command please

    Need a reminder on using the upgrade command please


    Hi,

    I have just downloaded the Sencha Touch 2.1.0.RC1 and need to upgrade my existing version (on 2.1.0.b3).

    I have Cmd installed and have been using it already (build 141).

    Can someone remind me, do I need to cd into the path of the new SDK or my app first before issuing the upgrade command?

    Thanks

  2. #2
    Sencha User
    Join Date
    Apr 2011
    Posts
    2
    Vote Rating
    0
    TetsuBo is on a distinguished road

      0  

    Default


    Go to your app dir and use "sencha app upgrade -p /path/to/new_sdk"

  3. #3
    Sencha User
    Join Date
    Jun 2009
    Posts
    411
    Vote Rating
    2
    parky128 is on a distinguished road

      0  

    Default


    Thanks thats what I thought, but I am getting an error:

    Code:
    C:\Sencha\Projects\PPTouch>sencha app upgrade -p C:/Sencha/ST.2.1.0.RC1
    Sencha Cmd v3.0.0.141
    [ERROR]         Cannot find C:\Sencha\Projects\PPTouch\.sencha\app\${workspace.c
    onfig.dir}\plugin.xml imported from C:\Sencha\Projects\PPTouch\.sencha\app\plugi
    n.xml
    Where am I going wrong? Thanks

  4. #4
    Touch Premium Member svenna's Avatar
    Join Date
    Jun 2007
    Location
    Oslo,Norway
    Posts
    563
    Vote Rating
    26
    svenna has a spectacular aura about svenna has a spectacular aura about

      0  

    Default


    Upgrade to Cmd 188. The upgrade command was not complete i .141 AFAIK.

    However, be aware that the upgrade overwrites some of your project files.
    At least 181 overwrote img resources and package.json. 181 overwrote package.json, not sure about the images.
    Sven Tore Iversen

  5. #5
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Location
    Kansas
    Posts
    1,403
    Vote Rating
    147
    dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold

      0  

    Default


    Thanks for helping folks. Indeed 141 had a broken upgrade command. See http://www.sencha.com/forum/showthre...ha-Cmd-V3-Beta for the latest build (now 190).
    Don Griffin
    Engineering Manager - Frameworks (Ext JS / Sencha Touch)

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"