Update October 6, 2010: Now that we've officially packaged the bundles for Liferay 6 in both our CE and EE releases, you can now download the bundles from liferay.com instead of building them from scratch. This blog was based on an ongoing revision of trunk so some of the steps will be outdated at this time.
If you've ever wondered which Tomcat bundle to use when deploying Liferay trunk, you can actually build your own using build-dist.xml. This step is the first one needed to check out the new Plugins EXT environment.
In the past, I used to download the latest version of our Tomcat bundle from our website, but using build-dist.xml is easier and requires less steps. Once Liferay 6.0 is released, you'll be able to download the bundle directly from our website.
You can download trunk here using an svn client:
From the Liferay trunk directory, you can run:
ant -buildfile build-dist.xml zip-tomcat
Assuming that you checked out Liferay trunk to the following directory:
Running the commands will look something like this: