Produced by Araxis Merge on 5/25/2018 9:21:43 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\AraxisMergeCompare\Pri_un\ZIP\DSM-cif\Direct Implementation\java\install\build\download\apache-tomcat-6.0.37.tar\apache-tomcat-6.0.37\webapps\docs | BUILDING.txt | Mon Apr 29 09:36:10 2013 UTC |
| 2 | C:\AraxisMergeCompare\Pri_re\ZIP\DSM-cif\Direct Implementation\java\install\build\download\apache-tomcat-6.0.37.tar\apache-tomcat-6.0.37\webapps\docs | BUILDING.txt | Thu May 24 19:50:04 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 340 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | ========== ========== ========== ========== ========== ========== ========== ========== | |
| 2 | Licensed to the Ap ache Softw are Founda tion (ASF) under one or more | |
| 3 | contribu tor licens e agreemen ts. See t he NOTICE file distr ibuted wit h | |
| 4 | this wor k for addi tional inf ormation r egarding c opyright o wnership. | |
| 5 | The ASF licenses t his file t o You unde r the Apac he License , Version 2.0 | |
| 6 | (the "Li cense"); y ou may not use this file excep t in compl iance with | |
| 7 | the Lice nse. You may obtain a copy of the Licen se at | |
| 8 | ||
| 9 | http ://www.apa che.org/li censes/LIC ENSE-2.0 | |
| 10 | ||
| 11 | Unless r equired by applicabl e law or a greed to i n writing, software | |
| 12 | distribu ted under the Licens e is distr ibuted on an "AS IS" BASIS, | |
| 13 | WITHOUT WARRANTIES OR CONDIT IONS OF AN Y KIND, ei ther expre ss or impl ied. | |
| 14 | See the License fo r the spec ific langu age govern ing permis sions and | |
| 15 | limitati ons under the Licens e. | |
| 16 | ========== ========== ========== ========== ========== ========== ========== ========== | |
| 17 | ||
| 18 | $Id: BUILD ING.txt 13 71985 2012 -08-11 18: 19:13Z kko linko $ | |
| 19 | ||
| 20 | ======== ========== ========== ========== ========== ==== | |
| 21 | Building The Apach e Tomcat 6 .0 Servlet /JSP Conta iner | |
| 22 | ======== ========== ========== ========== ========== ==== | |
| 23 | ||
| 24 | This subpr oject cont ains the s ource code for Tomca t 6.0, a c ontainer t hat | |
| 25 | implements the Servl et 2.5 and JSP 2.1 s pecificati ons from t he Java | |
| 26 | Community Process <h ttp://www. jcp.org/>. | |
| 27 | ||
| 28 | Note: If y ou just ne ed to run Apache Tom cat, it is not neces sary to bu ild | |
| 29 | it. You ma y simply d ownload a binary dis tribution. It is cro ss-platfor m. | |
| 30 | Read RUNNI NG.txt for the instr uction on how to run it. | |
| 31 | ||
| 32 | In order t o build a binary dis tribution version of Apache To mcat from a | |
| 33 | source dis tribution, do the fo llowing: | |
| 34 | ||
| 35 | ||
| 36 | (0) Downlo ad and Ins tall a Jav a Developm ent Kit | |
| 37 | ||
| 38 | * If the J DK is alre ady instal led, skip to (1). | |
| 39 | ||
| 40 | * Download a Java De velopment Kit (JDK) of Java SE version 5 from | |
| 41 | ||
| 42 | http:/ /www.oracl e.com/tech network/ja va/javase/ downloads/ index.html | |
| 43 | or fro m another JDK vendor . | |
| 44 | ||
| 45 | Note reg arding ver sions of J ava later than Java SE 5: | |
| 46 | ||
| 47 | As doc umented el sewhere, o ne of comp onents in Apache Tom cat includ es | |
| 48 | a priv ate copy o f the Apac he Commons DBCP libr ary. The s ource code | |
| 49 | for th is library is downlo aded, proc essed by t he build s cript | |
| 50 | (renam ing the pa ckages) an d compiled . | |
| 51 | ||
| 52 | Due to changes i n JDBC int erfaces im plemented by the lib rary betwe en | |
| 53 | versio ns of Java SE specif ication, t he library has to ta rget speci fic | |
| 54 | versio n of Java and can be compiled only with the JDK ve rsion | |
| 55 | implem enting thi s version of specifi cation. | |
| 56 | ||
| 57 | See Ap ache Commo ns DBCP pr oject web site for m ore detail s on | |
| 58 | availa ble versio ns of the library an d its requ irements, | |
| 59 | ||
| 60 | http ://commons .apache.or g/dbcp/ | |
| 61 | ||
| 62 | It is po ssible to use later versions o f JDK to b uild Tomca t 6.0, but the | |
| 63 | building of that c omponent ( tomcat-dbc p.jar) wil l be skipp ed and a | |
| 64 | warning will be pr inted. | |
| 65 | ||
| 66 | * Install the JDK ac cording to the instr uctions in cluded wit h the rele ase. | |
| 67 | ||
| 68 | * Set an e nvironment variable JAVA_HOME to the pat hname of t he directo ry | |
| 69 | into whi ch you ins talled the JDK relea se. | |
| 70 | ||
| 71 | ||
| 72 | (1) Instal l Apache A nt 1.6.x o n your com puter | |
| 73 | ||
| 74 | * If Apach e Ant 1.6. x is alrea dy install ed on your computer, skip to ( 2). | |
| 75 | ||
| 76 | * Download a binary distributi on of Ant 1.6.x from : | |
| 77 | ||
| 78 | http:/ /ant.apach e.org/bind ownload.cg i | |
| 79 | ||
| 80 | * Unpack t he binary distributi on into a convenient location so that th e | |
| 81 | Ant rele ase reside s in its o wn directo ry (conven tionally n amed | |
| 82 | "apache- ant-[versi on]"). Fo r the purp oses of th e remainde r of this document, | |
| 83 | the symb olic name "${ant.hom e}" is use d to refer to the fu ll pathnam e of | |
| 84 | the rele ase direct ory. | |
| 85 | ||
| 86 | * Create a n ANT_HOME environme nt variabl e to point the direc tory | |
| 87 | ${ant.ho me}. | |
| 88 | ||
| 89 | * Modify t he PATH en vironment variable t o include the direct ory | |
| 90 | ${ant.ho me}/bin in its list. This mak es the "an t" command line scri pt | |
| 91 | availabl e, which w ill be use d to actua lly perfor m the buil d. | |
| 92 | ||
| 93 | ||
| 94 | (2) Buildi ng Tomcat 6.0 | |
| 95 | ||
| 96 | (2.1) Chec kout or ob tain the s ource code for Tomca t 6.0 | |
| 97 | ||
| 98 | * Tomcat 6 .0 SVN rep ository UR L: | |
| 99 | http://s vn.apache. org/repos/ asf/tomcat /tc6.0.x/t runk/ | |
| 100 | ||
| 101 | * Download a source package fr om: | |
| 102 | http://t omcat.apac he.org/dow nload-60.c gi | |
| 103 | ||
| 104 | * Checkout the sourc e using SV N, selecti ng a tag f or release d version or | |
| 105 | trunk fo r the curr ent develo pment code , or unpac k a source package. The | |
| 106 | location where the source ha s been pla ced will b e referred as | |
| 107 | ${tomcat .source}. | |
| 108 | ||
| 109 | (2.2) Buil ding | |
| 110 | ||
| 111 | * Go to th at directo ry, and do : | |
| 112 | ||
| 113 | cd ${t omcat.sour ce} | |
| 114 | ant do wnload | |
| 115 | ant | |
| 116 | ||
| 117 | * WARNING: Running " ant downlo ad" comman d will dow nload libr aries requ ired | |
| 118 | to build Tomcat to the /usr/ share/java directory . On a ty pical Linu x or | |
| 119 | MacOX sy stem an or dinary use r will no t have acc ess to wri te to this | |
| 120 | director y, and, ev en if you do, it may not be ap propriate for you to | |
| 121 | write th ere. | |
| 122 | ||
| 123 | On Windo ws this us ually corr esponds to the "C:\u sr\share\j ava" | |
| 124 | director y, unless Cygwin is used. Read below to learn how to customi ze | |
| 125 | the dire ctory used to downlo ad the bin aries. | |
| 126 | ||
| 127 | * NOTE: Us ers access ing the In ternet thr ough a pro xy must us e a proper ties | |
| 128 | file to indicate t o Ant the proxy conf iguration. Read belo w. | |
| 129 | ||
| 130 | * The buil d can be c ontrolled by creatin g a ${tomc at.source} /build.pro perties | |
| 131 | file, an d adding t he followi ng content to it: | |
| 132 | ||
| 133 | # ---- - Proxy se tup ----- | |
| 134 | # Unco mment if u sing a pro xy server | |
| 135 | #proxy .host=prox y.domain | |
| 136 | #proxy.por t= PORT | |
| 137 | #proxy .use=on | |
| 138 | ||
| 139 | # ---- - Default Base Path for Depend ent Packag es ----- | |
| 140 | # Repl ace this p ath with t he directo ry path wh ere depend encies bin aries | |
| 141 | # shou ld be down loaded | |
| 142 | base.p ath=/home/ me/some-pl ace-to-dow nload-to | |
| 143 | ||
| 144 | ||
| 145 | (3) Updati ng sources | |
| 146 | ||
| 147 | It is reco mmended th at you reg ularly upd ate the do wnloaded T omcat 6 so urces | |
| 148 | using your SVN clien t. | |
| 149 | ||
| 150 | (4) Rebuil ds | |
| 151 | ||
| 152 | For a quic k rebuild of only mo dified cod e you can use: | |
| 153 | ||
| 154 | cd ${t omcat.sour ce} | |
| 155 | ant | |
| 156 | ||
| 157 | (5) Buildi ng the ser vlet and j sp API doc umentation | |
| 158 | ||
| 159 | The docume ntation ca n be easly built: | |
| 160 | ||
| 161 | cd ${t omcat.sour ce} | |
| 162 | ant -f dist.xml dist-javad oc | |
| 163 | ||
| 164 | (6) Buildi ng the ext ras (commo ns-logging , webservi ces etc.). | |
| 165 | cd ${t omcat.sour ce} | |
| 166 | ant -f extras.xm l | |
| 167 | ||
| 168 | (7) Buildi ng a relea se running tests: | |
| 169 | ||
| 170 | cd ${t omcat.sour ce} | |
| 171 | ant -f dist.xml release |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.