Hi Dirk,

thanks for your Help. I thing with this script it is possible to do what I want.
I'll give it a try. If I expect right, I also have to check if the class is 
also included to avoid multiple includes but I think this is possible.
Thanks again and if I'm running into trouble with customizing the build-process 
I'll contact you. :)

Greetings,
Andreas

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Dirk Wellmann
Gesendet: Donnerstag, 31. Juli 2008 19:02
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] complete custom build

Hi Anderas,

what about a nice awk - Script doing the job for you with the help of 
the find - command?

like this, witch output has to be included at some point:

find ./qx/ui/table/cellrenderer -name '*.js' -print | awk '{ 
printf("#required \"%s\"\n", substr($1,3))}'

output of this Example exec at qooxdoo/frontend/framework/source/class  
would be:
#required "qx/ui/table/cellrenderer/Icon.js"
#required "qx/ui/table/cellrenderer/Html.js"
#required "qx/ui/table/cellrenderer/Conditional.js"
#required "qx/ui/table/cellrenderer/Abstract.js"
#required "qx/ui/table/cellrenderer/Password.js"
#required "qx/ui/table/cellrenderer/Image.js"
#required "qx/ui/table/cellrenderer/Date.js"
#required "qx/ui/table/cellrenderer/Boolean.js"
#required "qx/ui/table/cellrenderer/Replace.js"
#required "qx/ui/table/cellrenderer/Default.js"
#required "qx/ui/table/cellrenderer/Number.js"
#required "qx/ui/table/cellrenderer/Dynamic.js"
#required "qx/ui/table/cellrenderer/String.js"
#required "qx/ui/table/cellrenderer/__init__.js"

now the job would be to include that into the makefile and to inject the 
code in one file included in your Project.

If you need further assistence in customizing the build-process, feel 
free to contact me by pm.

Regards Dirk

Fink, Andreas schrieb:
> Ok, that's another solution which is new to me... but I also don't want
> to use ;)
> It's nearly the same as the make setting I mentioned.
>
> The classes I'm using with the function (see below) getting more and
> more over time and I not really want to manually add each one in a make-
> or js-file (of course I could).
> My hope is that there is another setting I'm not familiar with,
> something where I can use wildcards for example
> "APPLICATION_ADDITIONAL_BUILD_OPTIONS = --add-require
> reform.Application:reform.dynamicClasses.*" (I know, this doesn't work
> I've tried it :D).
> Or a make setting which only add ALL custom files in the build-version
> without defining each one by hand but exclude the unneeded qooxdoo
> classes.
>
> Of course if there is nothing like this I've to use one of the solutions
> I mentioned or that one you mentioned. All work, but are not really nice
> to use in my case. :)
>
> Best regards
>
> Andreas
>
>   


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to