Some additional optimizations are also performed (wich may be disabled using the
new Object()is replaced by
new Array(el1, el2, ...)is replaced by
[el1, el2, ...]. When a single numeric argument is passed, the number is not an element, but the initial capacity. On this case, the optimization is not done
new RegExp("exp", "flags")is replaced by
It's written in Java, so you need Java on your system. Java 1.4 or greater is required. If you don't have it, download here.
The script may be runned from
On Windows the script is called
These are the arguments:
To run the Ant task, you must first define the task using the
Then, use the task itself:
Here are all possible attributes:
true, will disable the additional optimizations
One of srcFile and srcDir must be informed. When srcFile, one of destFile or destDir must be informed. Otherwise, srcDir is mandatory. The rest are optional.
To check the JavaDocs, take a look here