Results 1 to 2 of 2

Thread: Clarification on compiler debug directive

    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
    19
      0  

    Default 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
    Location
    Kansas
    Posts
    1,724
    Vote Rating
    248
      0  

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •