Thomas,

  In older versions of the generator you could disable variable optimization 
for variables matching a certain pattern.  Is this possible anymore?  I like 
optimizing (and obfuscating) the variables most of the time, but occasionally I 
have a variable or two that needs to be accessible in an eval() call, and used 
to use the "don't optimize a pattern" capability to do this.

Thanks
  -Bruce

> -----Original Message-----
> From: thron7 [mailto:[email protected]]
> Sent: Wednesday, April 14, 2010 3:53 PM
> To: qooxdoo Development
> Subject: Re: [qooxdoo-devel] How can I turn off optimizations?
> 
> >
> > Hi flj,
> >
> > You can edit the base.json config file in your
> > %qooxdoo_mainfolder%/tool/data/config folder
> >
> > and comment the line
> >
> > "optimize" : "${OPTIMIZE}"
> 
> That would be a rather crude fix. You should never need to change the
> framework files when you want to tweak a job configuration.
> 
> base.json uses a macro for a purpose. You can simply override the
> optimizations by re-defining this macro in your own config.json. In its
> global "let" section just add the macro with the desired value:
> 
>   "let" : {
>      ...
>      "OPTIMIZE" : [],
>      ...
>   }
> 
> The empty list will disable all optimizations. For selective enabling the
> individual optimizations see [1].
> 
> T.
> 
> [1] http://qooxdoo.org/documentation/1.0/tool/generator_config_macros
> 
> 
> 
> --------------------------------------------------------------------------
> ----
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to