[Mozile] New 0.8 Ant Build System

James A. Overton james at overton.ca
Mon Aug 28 11:35:37 EDT 2006


	Last week I started playing with Apache Ant (http://ant.apache.org)  
and within a few hours I had a script ready to assemble the 0.8.0a1  
release. I've polished the script and it's now available in CVS at  
mozile/www/0.8/tools/
	Documentation: http://mozile.mozdev.org/0.8/doc/html/ch03s07.html
	Here are some of the things you can do:

Basic use -
	cd mozile/ww/0.8/tools/
	ant help
Compile - You can specify a list of modules in tools/build.properties  
file, and the "ant compile" target will concatenate them and compress  
them using JSMin (included in tools/jsmin.jar) into new "mozile- 
src.js" and "mozile.js" files. It won't take care of dependencies for  
you, so be careful about the module sequence.
Documentation - If you have JSDoc and the DocBook tools installed you  
can generate the Mozile documentation from source.
Build - Assemble all the files to be released.
Package - Create a zip archive like the official releases.

	I don't have any prior experience with Ant. All I can say is that  
the script seems to work well. I've only tried the script on my Mac,  
but it should work cross-platform. Let me know if you have any  
problems or suggestions.

James


More information about the Mozile mailing list