-
21 Sep 2012 5:36 AM #1
Upgrading ST2 app fails
Upgrading ST2 app fails
I'm trying to upgrade my Sencha Touch 2 app from 2.0.1 to 2.1.0 RC3 with the following command (from the 2.1.0 RC3 dir):
Unfortunately the new Sencha Cmd isn't giving me an error that helps me forward:PHP Code:sencha app upgrade /path/to/my/app/
Am I doing somethings wrong here? And is it possible to implement a more informative error for this?PHP Code:Sencha Cmd v3.0.0.141
[INFO ] init-properties:
[INFO ] init-antcontrib:
[INFO ] init-sencha-command:
[INFO ] init:
[INFO ] -before-app-upgrade:
[INFO ] app-upgrade-impl:
[ERROR] file /Users/martindekeijzer/bin/Sencha/Cmd/3.0.0.141/plugins/touch/current/${framework.config.dir}/app-upgrade.js not found.
Allround web developer, conference organiser and speaker.
-
21 Sep 2012 9:44 AM #2
We did have to change the usage of the app upgrade command from v2. In v3, 'app upgrade' needs to be executed from the application directory, and pointed to the downloaded and extracted sdk package.
Try the following:
PHP Code:sencha app upgrade /path/to/new/framework
-
5 Oct 2012 2:55 AM #3
Just a NOTE:
After the upgrade, I encountered the following errors in the development environment.
I fixed it by adding the following lines of code on top of app.jsCode:Uncaught Error: [Ext.Loader] Failed loading './event/Dispatcher.js', please verify that the file exists sencha-touch.js:8319 Uncaught Error: [Ext.Loader] Failed loading './event/publisher/Dom.js', please verify that the file exists
BTW, i'm upgrading to the ST 2.1RC1Code://<debug> Ext.Loader.setPath({ 'Ext': 'touch/src', 'default': 'app' }); //</debug>Last edited by jbeduya; 5 Oct 2012 at 2:57 AM. Reason: additional information
-
5 Oct 2012 10:06 PM #4
What version of Sencha Cmd are you running now? Those errors look like ones that have been fixed...
Don Griffin
Ext JS Development Team Lead
Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue
"Use the source, Luke!"
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote