Success! Looks like we've fixed this one. According to our records the fix was applied for SDKTOOLS-178 in a recent build.
  1. #1
    Sencha User mberrie's Avatar
    Join Date
    Feb 2011
    Location
    Bangkok, Thailand
    Posts
    506
    Vote Rating
    14
    mberrie will become famous soon enough mberrie will become famous soon enough

      0  

    Default Clarification on compiler debug directive

    Clarification on compiler debug directive


    It seems that the documentation at http://docs.sencha.com/ext-js/4-1/#!...mmand_compiler is wrong or outdated, or I am misunderstanding something

    Code:
    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

    Code:
    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!

  2. #2
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,364
    Vote Rating
    135
    dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold

      0  

    Default


    Thanks for the guide bug report We'll get that fixed.

Thread Participants: 1