Chapter 3: Tomcat Installation Subversion Repository Tomcat, like a lot of other Apache projects, has migrated from using CVS as its version control system to Subversion. Subversion is designed to be a replacement of CVS, and overcomes a lot of the deficiencies that CVS had. More information on Subversion, including downloads of clients and servers, is available at http://subversion.tigris.org/. A popular Windows client for Subversion is Tortoise SVN (http://tortoisesvn.tigris.org/), which integrates into Windows Explorer. The commands shown here, however, are for a Linux-based, command-line client. $ svn co http://svn.apache.org/repos/asf/tomcat container In the preceding command, the URL ( http://svn.apache.org/repos/asf/tomcat ) specifies the root of the Tomcat Subversion repository, and containeris the module being checked out. If you are familiar with the CVS version control system, you can think of the Subversion repository root URL as analogous to CVSROOT. However you can browse the root URL using any Web browser, and view the code without downloading it. You can do neat stuff like this because the Subversion server makes use of the Apache HTTP server, and a WebDAV (www.webdav.org/) module. Subversion has a standalone server, too, just as CVS does, but the Apache/WebDAV combination is more commonly used. The container module contains the core Tomcat code; the list of all other modules is at http://tomcat .apache.org/svn.html. Building a Source Release Once you have downloaded the source code, building Tomcat is a simple matter of running the Ant build script present in the top-level directory. Ant is a build utility for Java programs. If you are not familiar with using it, refer to Appendix B . The commands that follow assume that both Java (/bin ) and Ant ( /bin ) are defined in the system PATH. $ cd apache-tomcat-6-x-y $ ant The Ant build script (build.xml) specifies which third-party jar files are to be downloaded, and as the script executes, you will see the required components either downloaded as required, or checked out from CVS repositories not all Apache projects have been migrated to Subversion at the time of this writing. Naturally, the machine that the build is run on requires Internet access, as well as a command- line CVS client. If not, you will see errors during the build process. If the machine that you are running the build on connects to the Internet through a proxy server, you have to specify this in a build .properties file. Copy the sample file from the apache-tomcat-6 directory to the parent directory, rename it to build.properties, and edit the following lines as required: # —– Proxy setup —-proxy. host=proxy.domain proxy.port=8080 proxy.use=on
If you looking for unlimited one inclusive web hosting plan please check web hosting plan website.