Thanks, that seems to do the trick, even though I do not understand why. The NativeAppender was already included in the JavaScript file *before* specifying the --add-require switch.
Cheers Rüdiger Fabian Jakobs wrote: > Rüdiger Herrmann schrieb: >> After commenting out various parts of the generated JavaScript file, I >> found the one that causes the trouble: >> lines 6389 to 6393 contain a "defer: ..." in class qx.log.Logger. >> When deleting those lines, the mentioned html page works. >> >> I don't dare to send a one MB file to this group and SF seems to block >> zip files. If anyone would like to have the generated JavaScript file, >> please drop a note. >> >> Does anyone know what's wrong with thlose lines? >> > Hello Rüdiger, > > maybe I can help. The relevant line are: > > settings : > { > "qx.logAppender" : "qx.log.NativeAppender", > "qx.minLogLevel" : 200 // qx.log.Logger.LEVEL_DEBUG > }, > > defer : function(statics) > { > ... > statics.ROOT_LOGGER.addAppender(new > (qx.Class.getByName(qx.core.Setting.get("qx.logAppender")))); > }, > > The class tries to load the class defined in the setting > "qx.logAppender" which defaults to "qx.log.NativeAppender". This > dependency depends on the build time setting and cannot be resolved > statically. You have to add are require to this class manually using the > following commnad line argument: > > --add-require qx.log.Logger:qx.log.NativeAppender > > Best Fabian > > ------------------------------------------------------------------------- > 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/ ------------------------------------------------------------------------- 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 qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel