Hi Joachim,
the variant "qx.debug" is set to "on" in the source version (generate.py
source) and set to "off" in the build version (genarate.py build). To
set the "qx.debug" to "on" in the build version, it is necessary to
change the config.json.
Please add this to you jobs section in the config.json:
"build-script" :
{
"variants" :
{
"=qx.debug" : ["on"]
}
}
Cheers,
Chris
Am 02.03.2010 19:26, schrieb Joachim Baran:
> Hi!
>
> I am browsing through the documentation and I spotted that the default
> value of qx.debug should be "on". However, when I build my application
> with 'generate.py build', it is clearly off.
>
> Even though the documentation talks about variants and how to put them
> in config.json, I am not quite sure how I actually set one. I tried
> hardcoding 'qx.core.Variant.define("qx.debug", ["on", "off"], "on");'
> in my code, but that does not change anything. I only see debugging
> output when I comment out the first line of my example code, i.e.
> // Enable logging in debug variant
> //if (qx.core.Variant.isSet("qx.debug", "on"))
> {
> // support native logging capabilities, e.g. Firebug for Firefox
> qx.log.appender.Native;
> // support additional cross-browser console. Press F7 to
> toggle visibility
> qx.log.appender.Console;
> }
>
> Is there a better way to solve this?
>
> Thanks,
> Joachim
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
--
Christian Schmidt
Software Entwickler
1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel