PDA

View Full Version : Possible to upgrade directly from 1.1.1 to CMD3?



producertina
20 Nov 2012, 10:59 AM
I've inherited an iPad app developed by someone else, in what I think was Sencha 1.1.1 (the core.js file says
Ext.apply(Ext, { /**
* The version of the framework
* @type String
*/
version : '1.1.1',

so I'm guessing that means Sencha 1.1.1).

So far, I've installed the SDK 2 Beta 3, and SenchaTouch 2.1, and have been unable to publish an app so far.

I believe this is because I need to do some kind of upgrade. I did attempt to upgrade to 2.1, currently installed on my machine. The following error was thrown:

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick


ReferenceError: document is not defined
at C:\xampp\htdocs\sencha\src\core\class\Loader.js:1299:19
at Object.<anonymous> (C:\xampp\htdocs\sencha\src\core\class\Loader.js:1323:2)
at Module._compile (module.js:441:26)
at Object..js (module.js:348:31)
at Module.load (module.js:308:12)

... it goes on.

How do I proceed past this error?

producertina
20 Nov 2012, 11:25 AM
Okay, so I found this doc:
http://docs.sencha.com/touch/2-0/#!/guide/upgrade_1_to_2

But I don't understand all this stuff about classes. Is there an easier way to upgrade - like just run a tool and it'll take care of all this complex stuff for me? I don't really have time to sit here and debug every little thing that's going to go wrong.

Alternatively, are there archived versions of Sencha Touch available that I can install to update this app using? The only change I have to make is swap out a graphic for another one, so it's not like any functionality in the app itself is changing. Thus, I'd rather not spend days figuring out how this all pieces together.

Thanks.

producertina
20 Nov 2012, 11:26 AM
<span style="font-family:arial;">Okay, so I found this doc:<br>http://docs.sencha.com/touch/2-0/#!/guide/upgrade_1_to_2<br><br>But I don't understand all this stuff about classes. Is there an easier way to upgrade - like just run a tool and it'll take care of all this complex stuff for me? I don't really have time to sit here and debug every little thing that's going to go wrong.<br><br>Alternatively, are there archived versions of Sencha Touch available that I can install to update this app using? The only change I have to make is swap out a graphic for another one, so it's not like any functionality in the app itself is changing. Thus, I'd rather not spend days figuring out how this all pieces together.<br><br>Thanks.</span>