一些选项:
- YUI compressor. See Julien Lecomte's blog for example use from Ant.
- LCA Soft provide a free Ant task interface to the Dojo Toolkit compressor.
- Jawr - Ant task.
(我没有用过 Jawr 或 Dojo,所以无法评论哪个***.)
(I've not used Jawr or Dojo, so can't comment on which is best.)