Monika,

there is even a simpler way, in the global "let" key of your config.json:

  "let" : {
     ...
     "OPTIMIZE" : []
  }

This has the same effect as Daniel's suggestion, but you don't have to 
tweak the build-script job. Have your choice.

This will disable all optimization (as there are optimizations for 
basecalls, privates, variables and strings). That said, the class code 
is still smaller than just the concatenation of all relevant source 
files, since comments are stripped and most of the white space. So there 
is a little bit of "compression" left, and the code is not as nice to 
read as the original source code (if that was your intention).

HTH,
Thomas

Daniel Wagner wrote:
> Hi Monika,
>
> welcome to qooxdoo!
>
> You can control the generator's behavior by overwriting specific job 
> settings in your config.json file.
>
> The generator can compress the files using gzip, but since that's 
> disabled by default, I'll assume you're asking about the code 
> optimization. This is configured in the "code" key:
>
>    "build-script" :
>      {
>        "compile-dist" :
>        {
>          "code" :
>          {
>            "optimize" : []
>          }
>        }
>      }
>
> You'll find more information on the generator's configuration options in 
> the manual:
>
> http://qooxdoo.org/documentation/0.8/generator_config
>
>
> Regards,
> Daniel
>
> [email protected] schrieb:
>   
>> Hi All
>>
>> I am pretty new to Qooxdoo and I want to ask a question about 
>> compressing the JavaScript code. Is there any chance that this 
>> compression can be disabled for deployment?
>>
>> S pozdravem / Best regards,
>>
>> *Monika Falk*, Software Specialist
>>
>> *Tieto*
>> email [email protected], direct +420597459905,  fax +420597459928
>> Výstavní 292/13, 70200 Ostrava, Czech Republic,  ___www.tieto.com_ 
>> <file://www.tieto.com>
>>
>> Meet the new Tieto: _www.tieto.com/newtieto_ 
>> <file://www.tieto.com/newtieto>
>>
>> Please note: The information contained in this message may be legally 
>> privileged and confidential and protected from disclosure. If the reader 
>> of this message is not the intended recipient, you are hereby notified 
>> that any unauthorised use, distribution or copying of this communication 
>> is strictly prohibited. If you have received this
>>
>>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------
>> Stay on top of everything new and different, both inside and 
>> around Java (TM) technology - register by April 22, and save
>> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>> 300 plus technical and hands-on sessions. Register today. 
>> Use priority code J9JMT32. http://p.sf.net/sfu/p
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>     
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>   

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to