Yes you are partly right.

The nativeLogger is really a dependency of qx.log.Logger, but only if 
the appender setting has not been modified.

The correct fix for this is to add the following to your command line 
parameters:

--add-require qx.log.Logger:qx.log.appender.Native

Sorry for the delay. Yesterday was a public holiday in Germany.

Cheers,

Sebastian


dperez schrieb:
> A #require(qx.log.appender.Native) line in Logger.js solves the problem!
> 
> 
> dperez wrote:
>> Hi,
>>
>> I think I've found more clues about the problem.
>>
>> In the defer section of qx.log.Logger, we have this line, that generates
>> an error:
>>
>> statics.ROOT_LOGGER.addAppender(new
>> (qx.Class.getByName(qx.core.Setting.get("qx.logAppender"))));
>> qx.core.Setting.get("qx.logAppender") = "qx.log.appender.Native"
>>
>> After this point, no more classes are processed.
>> qx.log.appender.Native is defined much later.
>>
>>
>> dperez wrote:
>>> I build a custom qx.js by using:
>>>
>>> generator.py 
>>>             --cache-directory ${dir.qooxdoo}/frontend/framework/.cache
>>>             --class-path ${dir.qooxdoo}/frontend/framework/source/class
>>>             --class-uri /
>>>             --class-path extraFiles
>>>             --class-uri /
>>>             --generate-compiled-script
>>>             --use-setting=qx.resourceUri:/qooxdoo/
>>>             --use-setting=qx.minLogLevel:600
>>>             --use-setting=qx.application:Apl
>>>             --add-new-lines
>>>                     --compiled-script-file qx.js
>>>
>>
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to