-
20 Sep 2012 12:20 PM #21
Workspace Question
Workspace Question
Hello,
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
This generated:
workspace/.sencha
workspace/ext
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/touch2.0.1.1 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 touch2.0.1.1 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
DeftJS
DeftJS
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!
Wrong Touch SDK!
I was using the wrong Touch SDK. Found the correct one here:
http://www.sencha.com/forum/announcement.php?f=89
Touch app generates now...on to the next issue : )
-
21 Sep 2012 12:37 AM #24
It looks like the command you executed did not have the line continuations in correctly. Try removing the \'s and wrapping all those lines on to a single line then execute that. Or paste that into a shellscript/batch file and keep the line breaks but make sure no lines end with spaces.
If those fail, please start a new thread with the script attached and/or other details.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!"
-
21 Sep 2012 12:40 AM #25
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!"
-
21 Sep 2012 12:46 AM #26
The installer should put the install dir in your PATH but you must restart your console/terminal for that to take effect.
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.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!"
-
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...
I'm using ext-4.1.1aCode:C:\path\to\extjs>sencha -sdk C:\path\to\extjs generate app AppName C:\path\to\app\WebExt Sencha Cmd v3.0.0.122 [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
Hi All,
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/*
While replaying the blog post's I cannot use any compressor, neither closure nor yui.PHP Code:Sencha Cmd v3.0.0.141
Note: The directory "4.1.1" contains actually a 4.1.1a!PHP Code:/Users/knalli/bin/Sencha/Cmd/3.0.0.141/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
I don't get it.PHP Code:Sencha Cmd v3.0.0.141
[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
Thank you for reporting this bug. We will make it our priority to review this report.



