This tool only acts on a single file at a time. It is not really a
big deal, the tool works very nicely in general.
If you are using a scripting language (shell, perl, python) you can
loop over the files very easily.
If you want to write a "C" or Java Program you can generate the script
as a series of java commands.
Shell Example:
#
# Create you output directory
#
mkdir output
#
#
#
FILE_LIST="~/javascripts/one.js ~/javascripts/two.js "
for file in $FILE_LIST
do
java -jar compiler.jar --compilation_level ADVANCED_OPTIMIZATIONS
--js ${file} -o output/${file}
done
On windows you can install one of these scripting languages to do
this.
Scripting the the DOS command language is very difficult.
I hope this answers your question.
Good Luck,
Peter