> Thanks ... so the following seems to work ...
>
> is this as I am suposed to be doing it, or is there a simpler way ?
>   

This is basically fine, you just don't need to specify all possible 
subkeys for "pretty-print", just the ones you want to deviate from the 
default. So if "indent-string" is all you want to tweak, this should 
suffice:

...
        "pretty-print" :
           {
            "general" : {
                 "indent-string"            : "    "
            }
           }
...

You could even unblock the application.json "pretty" and extend it in 
your own job:
  "my-pretty":
  {
        "extend" : ["pretty"],

        "pretty-print" :
           {
            "general" : {
                 "indent-string"            : "    "
            }
           }
   }

thus focussing a little bit more on what you actually want to tweak.


Thomas


> {
>   "name"    : "thd",
>
>   "include" :
>   [
>     {
>       "path" : 
> "../../../../../../../../../../usr/pack/qooxdoo-0.8svn-to/frontend/tool/data/config/application.json",
>       "block": ["pretty"]
>     }
>   ],
>
>   "let" :
>   {
>     "APPLICATION"  : "thd",
>     "QOOXDOO_PATH" : 
> "../../../../../../../../../../usr/pack/qooxdoo-0.8svn-to/frontend/framework",
>     "QOOXDOO_URI"  : 
> "../../../../../../../../../../usr/pack/qooxdoo-0.8svn-to/frontend/framework",
>     "QXTHEME"      : "qx.theme.Modern",
>     "QXICONTHEME"  : ["Tango"],
>     "API_EXCLUDE"  : ["qx.legacy.*","qx.test.*"],
>     "LOCALES"      : [ "en","de" ],
>     "ROOT"         : "."
>   },
>
>   "jobs": {
>     // the next one is needed wherever the local lib is to be scanned
>     "scan-local-lib" :
>     {
>       "library" :
>       [
>         {
>           "manifest" : "${ROOT}/Manifest.json",
>           "uri"      : ".."
>         }
>       ],
>
>       "cache" :
>       {
>         "compile" :  "${CACHE}"
>       }
>     },
>      "pretty" :
>      {
>         "extend" : [ "scan-local-lib" ],
>         "include" : [ "=${APPLICATION}.*" ],
>
>         "pretty-print" :
>            {
>             "general" : {
>                  "indent-string"            : "    "
>             },
>           "comments" :
>           {
>             "trailing" :
>             {
>               "keep-column"         : false,
>               "comment-cols"       : [50, 70, 90],
>               "padding"                : "  "
>             }
>           },
>           "blocks" :
>           {
>             "align-with-curlies"     : false,
>             "open-curly" :
>             {
>               "newline-before"      : "n",
>               "indent-before"        : false
>             }
>           }
>         }
>      }
>    }
> }
>
>   
>> Cheers,
>> Thomas
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>>     
>
>   

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to