You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Building Tomcat from source on MacOS can require some additional work, especially if you want to build all of the optional items such as libtcnative.

== Building Tomcat==
Building Tomcat itself is fairly straightforward. Simply download the source distribution of Tomcat and follow the indtructions in the BUILDING.txt file bundled with the distribution.

Briefly, you'll need:

  1. The Tomcat source tarball (the ZIP file is fine, but we're on UNIX, so the tarball is more natural)
  2. A Java Development Kit, available from Java.net
  3. Apache ant, available from the Apache ant downloads page

Once you have all that,

ant deploy

You may have to set your JAVA_HOME environment variable and/or specify the full path to your ant binary.

  • No labels