Build Faster!

"What? Liferay Portal source build in about 2 1/2 minutes, you say? How?"


Well, first of all, I'm on Ubuntu Linux which is more efficient than Windoze in file I/O and management. So the packing and unpacking of JAR files is much faster. But on top of that, I swapped out Jikes for the ECJ compiler as outlined here:


http://wiki.liferay.com/index.php/Liferay_Development_Environment:_Ubuntu_Linux#Compiler_Performance



 

BAM! That's portal source 'ant all' folks.

 

This takes over 8 minutes on Windows on the same machine (I have dual-boot). I'm running WinXP/Ubuntu7.04 on a Core2 Duo with 2GB RAM. Even faster (way faster) for builds based on EXT.