The general answer is: If you change the config, you have to make sure
that your changes affect the right jobs :).
From the config snippet you gave I see that the change you made was to
framework/config.json. But this config file has nothing to do whatsoever
with any application you might create with 'create-application.py'. In
fact, you should leave it alone, as we are maintaining this config file
and it has no relevance to your own endeavours.
If you want to make changes that affect jobs you run for your own
application, you have to modify the local config.json, e.g.
myapplication/config.json. So if you make you changes there, say to the
"source-all-script" job, you will see them taking effect when you run
"generate.py source-all" in myapplication.
HTH,
T.
On 08/25/2011 02:02 PM, telekosmos wrote:
> Hi
> I just started to use qx in a trail to get a framework to develop a pretty
> big project. Looks nice, but I first found a issue which is very weird, as
> the documentation and the previous posts are pretty clear about it, but I
> couldnt make to work the add-nocache-param. The piece of config.json looks
> like:
>
> "jobs":
> {
> "qxoo" :
> {
> // ... more options
> "compile-options" :
> {
> "paths" :
> {
> "loader-template" : "../tool/data/generator/oo.loader.tmpl.js"
> },
> "uris" :
> {
> "script" : "script", // ".",
> "resource" : "resource", //".",
> "add-nocache-param":false
> }
> }
> },
>
> With this configuration, the random id is still added to js files unless I
> comment the following piece of code in
> myapplication/source/script/myapplication.js, decodeUris function:
> if (qx.$$loader.addNoCacheParam) {
>
> euri += "?nocache=" + Math.random();
> }
>
> I set up the application by using 'create-application.py' and generated it
> by using the 'generate.py source-all', just as borrowed from 'getting
> started' 'hello world' example.
> so, what can be wrong with my config? are there any further steps to take
> after changing config.json?
>
> thanx in advance, and sorry if this is a dumb question (i just started
> yesterday to play around )
>
> w i l l y
>
>
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/Trouble-with-the-nocache-compiler-option-tp5995041p6724199.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel