Google Closure Advanced Compilation Support

Jun 14, 2011 at 4:31 PM
Edited Jun 14, 2011 at 4:49 PM


First off I just wanted to say great job so far, and I think you've established a great concept that has so much potential for integration into build processes.



That being said I am currently unable to use chirpy in my build configuration with its current set of options.  Google Closure support without the ability to send in all my files with the

"--manage_closure_dependencies true" flag (or its equivalent) hamstrings the utility of using the Closure compiler.  I would love to fork this project and make the requisite modifications for better closure support however I would like to test the waters on the feasibility of this before I waste my time...

In short:

Would it be possible to use a config file (example below) inside chirpy and have everything work as it should?  Or would it make a ton of breaking changes to the point where I would be better off either starting from scratch or continuing to use my batch files and build events...?

Edit: Also, there needs to be an "output" of the errors / warnings that are generated...

[file] chirpy.closure.config:


		<folder pattern="*.src.js" ignore="*.vsdoc.js">../src/lib2/</folder>
			<![CDATA[function _trace(x){window.console && console.log(x)}%output%]]>
		<folder pattern="*.src.js" ignore="*.vsdoc.js">../src/lib2/</folder>



-- thanks for your time & sorry for the verbosity... -chris

Jun 15, 2011 at 2:54 AM

chirpy is not only for google closure compiler.

Curing xml structure :

Suggest :

New attribute (summary_detail_level,warning_level,manage_closure_dependencies,output_wrapper,define) in node


New attribute (custom_param_for_Google_compile)


"Edit: Also, there needs to be an "output" of the errors / warnings that are generated..."

In visual studio error/warning is show in output windows.



Jun 19, 2011 at 3:17 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Jun 25, 2011 at 12:14 AM

Test changeset : b4493adffd73