-
7 Feb 2013 1:49 PM #1
Build of sample app fails - Sencha Cmd - app.dir config property sencha.cfg - ERR
Build of sample app fails - Sencha Cmd - app.dir config property sencha.cfg - ERR
Using SenchaCmd-3.0.2.288 and sencha-touch-2.1.0
Build of the sample app fails with error:
Code:sencha -sdk /opt/www/sencha-touch-2.1.0 generate app MyApp ./MyApp cd MyApp sencha -sdk /opt/www/sencha-touch-2.1.0 app build
Any ideas on how to work on a resolution will be greatly appreciated!Code:Sencha Cmd v3.0.2.288 [ERR] Please ensure this command was executed from a valid application directory [ERR] Unable to locate 'app.dir' config property from sencha.cfg
-
7 Feb 2013 2:27 PM #2
Change from 'app' to 'ant' as discussed here:
http://www.sencha.com/forum/showthread.php?244212
Also, the path to the sencha-touch directory is hard coded into the app at several points. So create a link to from the location of sencha-touch to the current app directory and it works. Like this:
This should probably be added to the documentation.Code:sencha -sdk /opt/www/sencha-touch-2.1.0 generate app MyApp ./MyApp cd MyApp ln -s /opt/www/sencha-touch-2.1.0 touch sencha -sdk /opt/www/sencha-touch-2.1.0 ant build
Thank you for reporting this bug. We will make it our priority to review this report.

