PDA

View Full Version : [FIXED] Clarification on compiler debug directive



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!

dongryphon
30 Sep 2012, 2:55 PM
Thanks for the guide bug report :) We'll get that fixed.