Nice work Dietrich, but you could just as well have added

  APPLICATION_ADDITIONAL_SOURCE_OPTIONS = --package-id=_

to your Makefile ;-).

It has been on the mailing list a couple of times, but never mind :-).

Thomas

Dietrich Streifert wrote:
> Hello everybody!
>
> This is for qooxdoo 0.7.x.
>
> I'm in need of using a charting library (flotr) which is based on 
> prototype.
>
> generator.py uses the $ sign as a prefix for optimized variables like 
> $1, $2 etc which clashes with the $ notation of prototype in the build 
> version.
>
> I've found the location where the prefix "$" is set in generator.py 
> and managed to introduce a new option for the optimizer:
>
>  --optimize-variables-prefix
>
> which then may be used to add a prefix befor 1, 2, 3 etc. in the 
> optimized variable name.
>
> I'm using this as follows:
>
>    --optimize-variables-prefix=_
>
> so now the generator creates variable names like $_1, $_2 etc. which 
> do not clash anymore with prototype.
>
> A patch against rev. 18378 of  branches/legacy_0_7_x/qooxdoo is attached.
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> ------------------------------------------------------------------------
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to