Hi Henrik,

"cache" is not top-level. Try to nest it in a job, something along the lines:

"jobs" :
{
  "common": {
    "cache": {
      "compile": "foo"
    }
  },
  ...
}

"common" is used by both "source" and "build" job.

You could also change the CACHE macro if you don't mind your compile cache to 
be somewhere else.

Tristan

Am 02.11.2011 um 15:49 schrieb Henrik Pauli:

> According to the documentation online at [1], there should be a key in
> config.json called "cache", to be able to control — among other things —
> the location of downloads.
> 
> generator.py, however, tells me the following:
> 
> 
> $ ./generate.py info
> 
> ----------------------------------------------------------------------------
>    Initializing: dbmgr
> ----------------------------------------------------------------------------
>>>> Processing configuration
>  - Warning: ! Shadowing job "libraries" with local one
>>>> Warning: ! Unknown top-level config key "cache" - ignored.
> 
> 
> Framework version is 1.5 according to info, so I'm reading the correct
> doc.  Download cache path remains unchanged, to my initial
> /tmp/qx1.5/cache/downloads, which I set in "let": { "CACHE": ... }
> 
> I'd like to move my downloads closer to my source tree, which is why I
> needed this config key.
> 
> 
> [1]
> <http://manual.qooxdoo.org/1.5/pages/tool/generator_config_ref.html#pages-tool-generator-config-ref-cache>
> 
> ------------------------------------------------------------------------------
> RSA&#174; Conference 2012
> Save $700 by Nov 18
> Register now&#33;
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to