[email protected] wrote:
> Hi.
>
> I have added the following to config.json, inside the "build-script" block:
>
>
>       "compile-dist" :
>       {
>       "paths" :
>       {
>         "file"     : "../../xyz",
>         "gzip"     : true
>       },
>       "uris" :
>       {
>         "script"   : "xyz",
>         "resource" : "resource"
>       },
>       "code" :
>       {
>         "format"   : true,
>         "locales"  : ["en"],
>         "optimize" : ["variables", "strings"]
>       }
>       }
>
>
> But the output folder keeps being build/script, rather than ../xyz. Why?
>   

1) You shouldn't put two question in one posting. Makes it easier to 
have two threads, one for each question.

2) Concerning your first question: "build-script" is not the only job 
using an output directory, "build-resources" and "build-files" do so as 
well. But better than changing each job individually, change the 
"BUILD_PATH" macro [1] to e.g. "../..", this will affect all of them. 
But as they use different subdirectories from BUILD_PATH, you will still 
see 'script' and 'resource' subdirectories. I recommend keeping those, 
as they ensure a consistent structure of your build version. If you 
cannot maintain that you have to go back to adapting all "build-*" jobs 
individually (adapting their "copy-resources" and "copy-files" config 
keys, respectively [2]).

T.

[1] http://qooxdoo.org/documentation/0.8/generator_config_macros
[2] http://qooxdoo.org/documentation/0.8/generator_config_ref

> Another question: where can I find the implementation for the decorators 
> coming with the two standard themes? I imperiously need to provide my own 
> (customer requirements), and I don't want to write new ones from scratch, so 
> I'd rather inherit from the already existing ones.
>
> br,
>
> flj
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>   

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to