21 Sep 2012 11:02 AM #31
The options to the v3 Sencha Cmd will be sensitive to ordering. Commands in v3 are processed hierarchically, so options to a particular sub command will need to follow that sub command on the command line.
In this case, the compressor setting (closure or yui) is an option on the concat command, which means it will need to follow that command on the command line.
In the command you show, they are transposed, which would cause this issue, as the higher level compile command does not have options for closure or yui.
This should correct it:
/Users/knalli/bin/Sencha/Cmd/18.104.22.168/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 concat -closure -out=all-classes-prod.js
22 Sep 2012 10:27 AM #32
Ah, yes, thanks. That's makes actually more sense. Seems to be a bug in the blog post, however.-->
22 Sep 2012 2:52 PM #33-->
24 Sep 2012 5:02 AM #34-->
24 Sep 2012 7:03 AM #35-->
24 Sep 2012 1:13 PM #36-->
25 Sep 2012 6:43 AM #37-->
25 Sep 2012 5:34 PM #38
Unfortunately now I can't open my JS files in UltraEdit by double-clicking them.-->
25 Sep 2012 6:05 PM #39
We will be replacing the batch file + wsh script approach to launching Sencha Cmd with a real exe for 3.0 GA which will eliminate this issue. Sorry for the hassle in the meantime.-->
25 Sep 2012 9:22 PM #40
Thanks. By the way do you know if the upgrade command works with Sencha? I wanted to upgrade fromSencha 2.1 beta 1 to beta 3, but the SDK tools didn't seem to work. So I downloaded the new command tool, but it doesn't seem to work either for upgrading. I am able to build a new app with it though using the beta SDK.-->