Hi Marcel,

> I almost guess it is a stupid question ...
> but here I go:
>   

Not at all.

> I have several external javascript files (like helper.js) which are not 
> depending on
> qooxdoo (and are used in other projects as well).
> How can I include them into the qooxdoo build process so that
> the code is schrinked etc and ends up in the qooxdoo generated myapp.js?
>   

I don't think it is entirely possible as of to-date. The generator 
expects qooxdoo class code to work upon. As for the shrinking you could 
use the tool/bin/compile.py frontend that should be able to deal with 
any JS code, both parsing and optimizing it. But there is no automatic 
adding this code to the final myapp.js. You have to capture the output 
of compile.py in a separate file. In cases where we use foreign code in 
an application we incorporate it on the index.html level and the qooxdoo 
code then simply uses global classes/functions (see the Playground 
application using CodeMirror). So you can include non-qooxdoo code in 
your app, even use the compile.py to shrink and the generator to copy 
files around if you wish, but it has to be treated as separate JS files 
which are not integrated in the general compiler/linker part of the 
generator.

HTH,
T.


> Thank you
> Marcel
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations 
> Conference from O'Reilly Media. Velocity features a full day of 
> expert-led, hands-on workshops and two days of sessions from industry 
> leaders in dedicated Performance & Operations tracks. Use code vel09scf 
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>   

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to