Hi everybody,

I'have tried to use the pretty job on a desktop project and have encountered 
some problems.
If I invoke the job with defaults, e.g. no config.json entries, I get a result 
which I would like differently, so I put the following into my config.json:

  "jobs" :
  {
...

    "pretty" :
    {
      "pretty-print" :
      {
        "general" :
        {
          "indent-string"        : "    ",
          "text-width"           : 0
        },
        "comments" :
        {
          "trailing" :
          {
            "padding"            : "    "
          }
        },
        "code" :
        {
          "align-with-curlies"   : true,
          "open-curly" :
          {
            "newline-before"     : "n",
            "indent-before"      : true
          }
        }
      }
    }
  }
...

My problem is now that when I execute "./generate.py pretty", I get the Warning:

- Warning: ! Shadowing job "pretty" with local one

Which is telling me that my config is working, but I get a pretty print without 
any indentation?
Whats wrong?

Kind regards
Sergio Sánchez Maffet
------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to