On Tue, Sep 23, 2008 at 3:48 PM, Jim Hunter <[EMAIL PROTECTED]> wrote:

> It sounds like you answered the question. I think what I did with 0.7.x,
> now that I am thinking about this, was to include all of the qooxdoo classes
> because I have code generated from the server that makes calls to some qx
> classes that my classes don't reference. I can get around this easily by
> making sure that I don't make any calls from the server for qx classes. I
> will simply subclass any qx classes I need into my own namespace, and call
> those new classes, in order to make sure everything needed gets included.
>

And if you do have some qooxdoo classes that you want to ensure get
included, you can also put require() statements in one of your other
classes, or simply reference them in some class even if you do anything with
the reference.  The latter is the way that the log appenders get included in
the debug version of create-application.py -generated applications.  Take a
look at a brand new Application.js file and you'll see that the two
appenders are referenced but not otherwise used, which causes the generator
to bring them in to the build.

Cheers,

Derrell
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to