title: How do you automate Javascript minification for your Java web applications?
body: <p>I'm interested in hearing how you prefer to automate Javascript minification for your Java web apps. Here are a few aspects I'm particularly interested in:</p>
  
  <ul>
  <li>How does it <strong>integrate?</strong> Is it part of your build tool, a servlet filter, a standalone program post-processing the WAR file, or something else?</li>
  <li>Is it <strong>easy to enable and disable</strong>? It's very unfunny to try and debug a minified script, but it's also useful for a developer to be able to test that the minification doesn't break anything.</li>
  <li>Does it work <strong>transparently</strong>, or does it have any side effects (apart from the ones inherent in minification) that I have to consider in my day-to-day work?</li>
  <li><strong>Which minifier</strong> does it use?</li>
  <li>Does it <strong>lack any features</strong> that you can think of?</li>
  <li>What do you like about it?</li>
  <li>What <em>don't</em> you like about it?</li>
  </ul>
  
  <p>This will mostly serve as a reference for my future projects (and hopefully other SOer's will find it informative, too), so all kinds of tools are interesting.</p>
  
  <p>(Note that <strong>this is not a question about which minifier is best</strong>. We have plenty of those around already.)</p>