20 Sep 2012 12:20 PM #21
I would like to have an ext app and a touch app within a single workspace. I generated the workspace with:
$ sencha -sdk path/to/ext4.1.1a generate workspace path/toworkspace
I can then generate an ext app, but not a touch app.
I have tried to generate the touch app like so:
$ sencha -sdk path/to/touch184.108.40.206 generate app path/totouchapp
I get an error:
"Failed to determine framework name. Please ensure this command was issued from either a framework or application directory"
So, I also tried to generate the touch app by cd'ing to my touch220.127.116.11 sdk, but that did not work either.
What am I doing incorrectly?
Last edited by chrisfarrell; 20 Sep 2012 at 12:24 PM. Reason: corrected touch sdk version number-->
20 Sep 2012 12:37 PM #22
If I want to use DeftJS in a Cmd generated app, what do I need to consider?
Should I avoid using Cmd to generate classes (models, controllers, etc), or should I go ahead and generate them and then edit manually to implement DeftJS? Is there another option?
Are there any Cmd commands I need to avoid or be aware of?-->
20 Sep 2012 1:23 PM #23
Wrong Touch SDK!
I was using the wrong Touch SDK. Found the correct one here:
Touch app generates now...on to the next issue : )
21 Sep 2012 12:37 AM #24
If those fail, please start a new thread with the script attached and/or other details.-->
21 Sep 2012 12:40 AM #25-->
21 Sep 2012 12:46 AM #26
You should not have to remove the old tools, but the new PATH entry will take over and "hide" the older version.
The way this is accomplished varies by platform, so if you have issues please start a new thread and provide OS info and steps taken.-->
21 Sep 2012 5:05 AM #27-->
21 Sep 2012 5:51 AM #28
Ok, I get errors all over tha place as well. Just my first hour with ExtJS, I have two days to evaluate the framework and decide if we will give it a try, but I can't even generate sample app...
C:\path\to\extjs>sencha -sdk C:\path\to\extjs generate app AppName C:\path\to\app\WebExt Sencha Cmd v18.104.22.168 [INFO ] init-properties: [INFO ] init-antcontrib: [INFO ] init-sencha-command: [INFO ] init: [INFO ] -before-generate-workspace: [INFO ] generate-workspace-impl: [INFO ] -before-copy-framework-to-workspace: [INFO ] copy-framework-to-workspace-impl: [ERROR] UNHANDLED EXCEPTION : This is the default implementation from Sencha CMD and must be overriden by the framework. C:\inetpub\wwwroot\extjs>
Can I fix that somehow?-->
21 Sep 2012 6:25 AM #29
I've some troubles when installing Sencha Cmd V3 on my OSX Lion 10.7.4 :
The .profile file was well updated with the PATH, but nothing worked in my terminal window (even after a restart - say restart of the mac)
So, copying the new lines written in .profil into .bash_profile made thing work fine
Hope this help-->
21 Sep 2012 10:12 AM #30
I'd installing the v3 with the link of the blog post announcing version 3.
So, it was installed at ~/bin/Sencha/*
Sencha Cmd v22.214.171.124
/Users/knalli/bin/Sencha/Cmd/126.96.36.199/sencha compile -classpath=app.js,ext-4.1.1/src,ext-4.1.1/examples/ux,plugins,myappdir exclude -namespace=Ext.chart and concat -out all-classes-dev.js and -debug=false concat -out all-classes-debug.js and -closure concat -out=all-classes-prod.js
Sencha Cmd v188.8.131.52
[INFO ] Processing classPath entry : <dir>/sencha-compile-temp-dir
[INFO ] Processing classPath entry : app.js
[INFO ] Processing classPath entry : ext-4.1.1/src
[INFO ] Processing classPath entry : ext-4.1.1/examples/ux
[INFO ] Processing classPath entry : plugins
[INFO ] Processing classPath entry : myappdir
[INFO ] Processing class inheritance graph
[INFO ] Processing source dependencies
[INFO ] Concatenating output to file all-classes-dev.js
[INFO ] Concatenating output to file all-classes-debug.js
[ERROR] No such property : closure