PDA

View Full Version : 2 hurdles too many on windows 7 x64, no generate command



aktxyz
10 Mar 2012, 6:49 AM
- great video, looks easy
- install SDK on windows 7 x64 (pretty mainstream for windows)
- Error: \SenchaSDKTools-2.0.0-Beta\bin\ was unexpected at this time.
- google google google, ok - wants to be in Program Files

- now when I run "sencha", I don't even see a generate command?

D:\Sencha\Xampp\xampp\htdocs\touchapps\01.getstart>sencha
Sencha Command v2.0.0 Beta
Copyright (c) 2012 Sencha Inc.

usage: sencha COMMAND [ARGS]

The available commands are:
build build a JSB project
create bootstrapdata generate boostrap data
create jsb generate a minimal JSB project for an
create locale generate a template locale fil
create manifest generate classes manifest
package package your Touch web app into a nati
slice theme slice a custom theme's images for IE

See 'sencha help COMMAND' for more information on a specific command.

UnicornCG
10 Mar 2012, 2:23 PM
That's one thing I didn't understand, but now, I think I do... (correct me if I'm wrong!)

I think the generate command is not part of the sdk tools, but of the Sencha Touch 2 release.

I cd to my sdk folder, no sencha app generate command!
Then I cd to my Touch2 folder, and it generates an app like a charm!

I'd like someone who does know what he's talking about to confirm this, please, thanks!

jamlam
10 Apr 2012, 12:21 PM
I have spent lots of time wondering exactly why this wasn't working for me and you reply was spot on.

Thankyou