kogmbh/WebODF — pull request #571 by satsuper (2014-05-06 06:57:18+00:00)
Title: Workaround for the command line argument length limit on Windows

As described here http://support.microsoft.com/kb/830473 the Windows command prompt limits arguments to 8191 characters. This is rather unfortunate for me as it prevents me from running Closure Compiler locally.

I have made use of the -flagfile option to move all the arguments for the files to be compiled into the flag file. This should prevent any future errors around this as any added files will be passed in to CC through the flag file.

This did require two different flag files as some targets don't require the test files and passing the test files in as command line arguments caused issues as they are processed before anything specified in the flag file.