nl_tokens: Converts the value of the settings command line option to qx settings .
pl_tokens: function ( args ) { var opts ; for ( var i = 0 , l = args . length ; i < l ; i ++ ) { if ( args [ i ] . indexOf ( "settings=" ) == 0 ) { opts = args [ i ] . substr ( 9 ) ; break ; } else if ( args [ i ] . indexOf ( "'settings=" ) == 0 ) { opts = / 'settings\=(.*?)' / . exec ( args [ i ] ) [ 1 ] ; break ; } } if ( opts ) { opts = opts . replace ( / \\\{ / g , "{" ) . replace ( / \\\} / g , "}" ) ; opts = qx . lang . Json . parse ( opts ) ; for ( var prop <mask> opts ) { var value = opts [ prop ] ; if ( typeof value == "string" ) { value = value . replace ( / \$$ / g , " " ) ; } try { qx . core . Environment . add ( prop , value ) ; } catch ( ex ) { this . error ( "Unable to define command-line setting " + prop + ": " + ex ) ; } } } }