mberrie
30 Sep 2012, 3:18 AM
It seems that the documentation at http://docs.sencha.com/ext-js/4-1/#!/guide/command_compiler is wrong or outdated, or I am misunderstanding something :)
sencha compile -classpath=sdk/src \ exclude -namespace Ext.chart and \ concat ext-all-nocharts-debug-w-comments.js and \ -debug=true -strip \ concat ext-all-nocharts-debug.js
For me only this is working
sencha compile -classpath=sdk/src \
exclude -namespace Ext.chart and \
-debug=false concat -strip \
ext-all-nocharts-debug.js
'-debug=false' has to go **before** the command, but -strip and other switches follow **after**
The help command of Sencha Cmd provides the correct information btw!
However, from those docs it is not obvious that the directive parser can be configured for each 'command' ('concat') individually. Which is of course very convenient!
Still very impressed with the compiler. These are just minor glitches in the docs!
sencha compile -classpath=sdk/src \ exclude -namespace Ext.chart and \ concat ext-all-nocharts-debug-w-comments.js and \ -debug=true -strip \ concat ext-all-nocharts-debug.js
For me only this is working
sencha compile -classpath=sdk/src \
exclude -namespace Ext.chart and \
-debug=false concat -strip \
ext-all-nocharts-debug.js
'-debug=false' has to go **before** the command, but -strip and other switches follow **after**
The help command of Sencha Cmd provides the correct information btw!
However, from those docs it is not obvious that the directive parser can be configured for each 'command' ('concat') individually. Which is of course very convenient!
Still very impressed with the compiler. These are just minor glitches in the docs!