Michael
unread,Dec 1, 2009, 12:19:15 PM12/1/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Closure Compiler Discuss
Hello,
I'm attempting to use the command line tool, compiler.jar (via ant),
to compile two large javascript files. These files are meant to be
used together, though one is optional, so I need to produce two
compiled files as output.
Because the code in the two files refer to one another I am under the
impression that I should compile them together, but when doing so I
can't see any way to produce two separate files as output. Is this
possible? How would I write a command line to do that?
For example this produces two files but the content of each file is
identical (presumably the combination of both inputs). I need the
content of each output file to be the compiled version of its input:
java -jar compiler.jar --js one.js --js_output_file one.cc.js --js
two.js --js_output_file two.cc.js