title: How to minify sencha touch 2.1 + cordova/phonegap 2.2.0 app developed with Netbeans?
body: <p>While developing an app based on sencha touch 2.1 and cordova/phonegap 2.2.0, I have noticed a strange behavior by netbeans. </p>
  
  <p>When my App become bigger, I started to use sencha cmd (3.0.0.250) to minify (production build) my js-css-html code. So I created a batch file and added it to the build.xml (pre-compile). I also edited the activity class to point to the sencha cmd build output. So in the <code>Assets/www</code> path there is my "readable" js, html, ... code and also the minified code.</p>
  
  <p>Now When I build the app, the apk file is up to 8mb.</p>
  
  <p>But when I delete the "readable" js-html-css code before build (also don't use a batch script) then the size of my apk is only 600kb. </p>
  
  <p>In both cases the performance is the same.</p>
  
  <p>Is this a normal behavior of Netbeans? How to avoid that?</p>