25 Apr 2012 2:40 AM #11
an other question : have you try to "uninstall" the SDK tool (using the uninstaller) and re-install the newest version ?
25 Apr 2012 3:09 AM #12
Yes. I uninstall and reinstall cleanly. That doesn't help.
25 Apr 2012 9:31 AM #13
I have having the same problem but on Windows. I uninstalled the previous SDK (beta2) and installed beta3. From an XP command prompt, I run the following:
C:\>cd PROGRAMMER\SenchaSDKTools-2.0.0-beta3 C:\PROGRAMMER\SenchaSDKTools-2.0.0-beta3>sencha [WARN] The current working directory (C:\PROGRAMMER\SenchaSDKTools-2.0.0-beta3) is not a recognized Sencha SDK or application folder. Running in backwards compa tible mode. Sencha Command v2.0.0 Beta 3 ...
C:\PROGRAMMER\SenchaSDKTools-2.0.0-beta3>sencha app create [ERROR] The current working directory (C:\PROGRAMMER\SenchaSDKTools-2.0.0-beta3) is not a valid SDK directory. Please 'cd' into a SDK directory before executing this command.
25 Apr 2012 9:35 AM #14
The same results after I uninstalled/reinstalled to the default "c:\Program Files\..." directory.
25 Apr 2012 10:13 PM #15
+1 here on Win 7 64-bit
Installed SDK 2.0.0-b3 to C:\SenchaSDKTools-2.0.0-beta3 and checked the path. I get the tell-tale blank lines and a bogus JSB (the default blank file):
C:\Tangix_Work\htdocs\sencha-arch-deploy>c:\SenchaSDKTools-2.0.0-beta3\sencha create jsb -a http://localhost/sencha-arch-deploy/app.html -p app.jsb3
26 Apr 2012 3:22 AM #16
Happened to me when calling the sencha command from the SDK tools folder. Did not happen when calling the command from the Sencha Touch 2 folder.<br><br>Hope that helps.<div id="CLSCRIPT_communicationDiv"></div>
26 Apr 2012 5:42 AM #17
Same problem here with the SDK2.0beta3:
C:\Program Files\SenchaSDKTools-2.0.0-beta3>sencha app create testApp d:\MyDocuments\testApp [ERROR] The current working directory (C:\Program Files\SenchaSDKTools-2.0.0-bet a3) is not a valid SDK directory. Please 'cd' into a SDK directory before execut ing this command.
26 Apr 2012 6:43 AM #18
When you run the sencha command by itself in a directory that doesnt have the sencha touch 2 sdk it behaves like the old sencha command 1.2 where it is for creating the jsb, and etc for Ext JS 4.
I have not looked at the new beta 3 and not sure if any new commands was introduced.
Make sure the path
is located in your SYSTEM PATH variable for Win7.
26 Apr 2012 8:00 AM #19
The problem is that the command line scripts are only included in the SDK since Sencha Touch 2.0.1. If you download Sencha Touch 2.0.1 alone you can't run the command line scripts.
26 Apr 2012 8:07 AM #20
Revamped Command, removed all binaries (now reside in SDK Tools installations entirely)