一些选项:
- 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或道场,所以不能上这是***的注释。)
(I've not used Jawr or Dojo, so can't comment on which is best.)