Upgrade Ext JS 4.1 to Ext JS 4.2 with Sencha Cmd

Posted on in Environment Ext JS

When you started your Ext JS 4.* project with Sencha Cmd you know how easy it works to startup and scaffold.
It's also easy to upgrade your application to the latest Ext JS 4.2 build.

Download Ext JS 4.2
Unpack the folder, open your console and navigate to your Ext JS app.

Enter the following command to upgrade:

sencha app upgrade ../downloads/ext4.2

(the last path points to your unpacked folder of extjs4.2)

And that's it!

Comments

  1. loki says on
    May 1, 2013 at 8:51 am
    Reply

    hi i run the follwoing cmd but i can’t get upgraded ext contents

    sencha app upgrade ../downloads/ext4.2

  2. tony says on
    May 16, 2013 at 5:58 pm
    Reply

    Hi,

    Just for clarity — is this upgrade path for instances of Ext.app.Application (as opposed to *naked* scripts using Ext.onReady)?

    Thanks!

    Tony

  3. Lee says on
    May 28, 2013 at 7:50 am
    Reply

    Hi Tony, it will upgrade the framework. Theoretically Ext.onReady scripts should work too when upgrading Ext via Sencha Cmd.

    Though the MVC way (Ext.app.Application) is the best practice for working with Ext 4.* apps. – Scaffolding with Sencha Cmd, uses the MVC architecture too.

  4. Lee says on
    May 28, 2013 at 7:51 am
    Reply

    @Loki, do you see an error?

    When running the following code in your Dev Console:
    Ext.getVersion(), do you see 4.2 as the version number?

  5. loki says on
    August 5, 2013 at 1:11 pm
    Reply

    hi Lee,

    i am using extjs4.1.1a in my app now i want to upgraded to 4.2.1 how can i upgrade app my app can u explain deeply.. ? thanks

Post a Comment

Your email is never published nor shared.
Required fields are marked *