Most of the web sites need to do this to ensure that the application performs much better in terms of performance.
I have an ANT task which will do this in a much better way. Here are the steps for the same.
Download the jar file named YuiCompressorTask (originally from Yahoo) from the web site YUI Compressor
Place this jar file in the location <ant_home>\lib
Create ANT task as follows
Change the locations according to your needs.
No comments :