-
29 Sep 2012 12:02 PM #1
sencha ant production build does not work for Ext JS apps
sencha ant production build does not work for Ext JS apps
I installed 181 and created a new app (using 4.1.2a sdk)
Then, I went to the c:\projects\TestApp folder and ranCode:sencha generate app TestApp c:\projects\TestApp
and got this response:Code:sencha ant production build
If I use the old commandCode:Sencha Cmd v3.0.0.181 [ERROR] Target "production" does not exist in the project "@@@".
it doesn't give me an error, but it also doesn't result in a production folder under the build folder; just a folder name TestApp. The only files that get copied to the build\TestApp folder are index.html and all-classes.js.Code:sencha app build production
Am I missing a step?
-
29 Sep 2012 12:34 PM #2
Thanks for the report! I have opened a bug in our bug tracker.
-
29 Sep 2012 12:35 PM #3
The different environment options (e.g., "production") are still touch-specific in their handling, but we must have missed adding "no op" targets for them in the Ext JS side to allow the commands to execute.
"sencha ant build" should work for both frameworks using the default environment for Sencha Touch.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!"
-
29 Sep 2012 12:36 PM #4
I also transplanted your post from its original location on the announcement thread. Sorry for any confusion on that but we cannot link individual posts from a thread to our bug tracker.
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!"
-
4 Oct 2012 6:03 AM #5
Now I've dug down into it I think my problem here:
http://www.sencha.com/forum/showthread.php?244917-3.0.0.181-Ext-JS-4.1.1a-unable-to-disable-yui-compression
Is the same. I managed to discover your workaround during discovery however this doesn't solve my base problem which is that a testing build appears to be impossible. Is there a workaround to disable compression on an Ext JS build?
Success! Looks like we've fixed this one. According to our records the fix was applied for
SDKTOOLS-173
in
3.0.0 Sprint 7.


Reply With Quote