27 Apr 2011 6:19 AM #1
SenchaSDKTools - sencha create jsb command
I'm trying to use the sencha create jsb command without success. I successfully install the SDKTools, and when I use the sencha build command with a .jsb3 file from the examples, it work fine, but when I like create a .jsb3 for my project with sencha create jsb, this error ocurr:
[ERROR] Ext is not defined, please verify that the library is loaded properly on the application's page
undefined:0 ReferenceError: Can't find variable: Ext
I try the command on the examples, and the same error happen.
Any help, please?
Thanks in advance!Ext is terrific!!
27 Apr 2011 6:28 AM #2
I already find the solution, I should read to the end of the Getting Started Guide. Thanks anyway.Ext is terrific!!
27 Apr 2011 6:53 AM #3
27 Apr 2011 7:11 AM #4
I found this document might help
but I get this error :
uncaught exception: Stream:"Could not open the pipe" (exec://ext-app-builder --app-entry index.html --project app.jsb3)
27 Apr 2011 8:26 AM #5
27 Apr 2011 8:32 AM #6
sencha create jsb -a http://localhost/path/to/application/index.php -p app.jsb3
That way worked perfectly to me, and maybe solve your problem too.Ext is terrific!!
27 Apr 2011 6:30 PM #7
27 Apr 2011 11:12 PM #8
27 Apr 2011 11:29 PM #9
i found a temporary solition,
go to the your app root folder.
and put on your command screen below lines
ext-app-builder --app-entry index.html --project app.jsb3
JSBuilder --projectFile app.jsb3 --deployDir .
del /f /q classes.js-temp-356845408084.92346 //must be your temp file path
8 Jul 2011 7:40 AM #10
I had the same error but this was being caused by something else. I had some ASP script at the top of my landing page which tested if the user had logged in. Very basic code;
If session("user") = "" Then
As soon as I removed this code I was able to create the deployment files.
By sdruckerfig in forum Sencha Touch 1.x: DiscussionReplies: 15Last Post: 22 Jan 2012, 3:54 PM
By ssamayoa in forum Ext: DiscussionReplies: 31Last Post: 6 Jul 2011, 12:22 PM
By AndreaCammarata in forum Sencha Touch 1.x: DiscussionReplies: 2Last Post: 1 Apr 2011, 10:36 PM
By jskufca in forum Sencha Touch 1.x: DiscussionReplies: 1Last Post: 25 Mar 2011, 1:57 PM