Derrell,

> This new question was asking in regarding QOOXDOO_PATH, which is
> overridden
> by config.json. Here's my configure.json file:

I presume this is your user's generator.json file, right?!

>
> {
>   "let" :
>   {
>     "QOOXDOO_PATH" : "/home/derrell/ME/qooxdoo.git/trunk/qooxdoo"
>   },
>
>   "jobs" :
>   {
>     "source-script" :
>     {
>       "compile-options" :
>       {
>         "uris" :
>         {
>           "add-nocache-param" : false
>         }
>       }
>     }
>   }
> }
>
> The add-nocache-param part works perfectly. The QOOXDOO_PATH part, though,
> does not because each config.json file in qooxdoo-contrib has its own
> (wrong, for me) QOOXDOO_PATH specified. I need a way to set that path once
> for me and have the generator ignore any overrides in the other
> config.json
> files.

When the generator.json is included into the app's config.json, its
source-script job grabs the "let" macros from generator.json and carries
them along, including your QOOXDOO_PATH setting. Unfortunately, the
config.json has its own "let" section with a QOOXDOO_PATH setting. This is
considered first, and so wins as the generator.json macro comes in second.
This follows the general prinicple that "local" settings should take
precedence.

As all applications created with create-application.py have a QOOXDOO_PATH
in their config.json, there is no way you can override this through config
inclusion. The only chance you have, short of editing all config.json's,
is to pass a macro value on the command line when invoking the generator:

generate.py -m QOOXDOO_PATH:<my/qx/path> ...

This is the only thing that can override the config.json macro value. You
could create a shell alias or start script so this macro is always passed
when you run a job.

HTH,
T.




------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to