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.html | 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.html | Thu May 24 19:49:54 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 372 |
| 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 | <html><hea d><META ht tp-equiv=" Content-Ty pe" conten t="text/ht ml; charse t=iso-8859 -1"><title >Apache To mcat 6.0 ( 6.0.37) - Building T omcat</tit le><meta n ame="autho r" content ="Remy Mau cherat"><s tyle type= "text/css" media="pr int"> | |
| 2 | .noPri nt {displa y: none;} | |
| 3 | td#mai nBody {wid th: 100%;} | |
| 4 | </st yle></head ><body bgc olor="#fff fff" text= "#000000" link="#525 D76" alink ="#525D76" vlink="#5 25D76"><ta ble border ="0" width ="100%" ce llspacing= "0"><!--PA GE HEADER- -><tr><td> <!--PROJEC T LOGO-->< a href="ht tp://tomca t.apache.o rg/"><img src="./ima ges/tomcat .gif" alig n="right" alt=" | |
| 5 | The Apache Tom cat Servle t/JSP Cont ainer | |
| 6 | " bord er="0"></a ></td><td> <h1><font face="aria l,helvetic a,sanserif ">Apache T omcat 6.0< /font></h1 ><font fac e="arial,h elvetica,s anserif">V ersion 6.0 .37, Apr 2 9 2013</fo nt></td><t d><!--APAC HE LOGO--> <a href="h ttp://www. apache.org /"><img sr c="./image s/asf-logo .gif" alig n="right" alt="Apach e Logo" bo rder="0">< /a></td></ tr></table ><table bo rder="0" w idth="100% " cellspac ing="4"><! --HEADER S EPARATOR-- ><tr><td c olspan="2" ><hr nosha de="noshad e" size="1 "></td></t r><tr><!-- LEFT SIDE NAVIGATION --><td wid th="20%" v align="top " nowrap=" nowrap" cl ass="noPri nt"><p><st rong>Links </strong>< /p><ul><li ><a href=" index.html ">Docs Hom e</a></li> <li><a hre f="http:// wiki.apach e.org/tomc at/FAQ">FA Q</a></li> </ul><p><s trong>User Guide</st rong></p>< ul><li><a href="intr oduction.h tml">1) In troduction </a></li>< li><a href ="setup.ht ml">2) Set up</a></li ><li><a hr ef="appdev /index.htm l">3) Firs t webapp</ a></li><li ><a href=" deployer-h owto.html" >4) Deploy er</a></li ><li><a hr ef="manage r-howto.ht ml">5) Man ager</a></ li><li><a href="real m-howto.ht ml">6) Rea lms and AA A</a></li> <li><a hre f="securit y-manager- howto.html ">7) Secur ity Manage r</a></li> <li><a hre f="jndi-re sources-ho wto.html"> 8) JNDI Re sources</a ></li><li> <a href="j ndi-dataso urce-examp les-howto. html">9) J DBC DataSo urces</a>< /li><li><a href="cla ss-loader- howto.html ">10) Clas sloading</ a></li><li ><a href=" jasper-how to.html">1 1) JSPs</a ></li><li> <a href="s sl-howto.h tml">12) S SL</a></li ><li><a hr ef="ssi-ho wto.html"> 13) SSI</a ></li><li> <a href="c gi-howto.h tml">14) C GI</a></li ><li><a hr ef="proxy- howto.html ">15) Prox y Support< /a></li><l i><a href= "mbeans-de scriptor-h owto.html" >16) MBean Descripto r</a></li> <li><a hre f="default -servlet.h tml">17) D efault Ser vlet</a></ li><li><a href="clus ter-howto. html">18) Clustering </a></li>< li><a href ="balancer -howto.htm l">19) Loa d Balancer </a></li>< li><a href ="connecto rs.html">2 0) Connect ors</a></l i><li><a h ref="monit oring.html ">21) Moni toring and Managemen t</a></li> <li><a hre f="logging .html">22) Logging</ a></li><li ><a href=" apr.html"> 23) APR/Na tive</a></ li><li><a href="virt ual-hostin g-howto.ht ml">24) Vi rtual Host ing</a></l i><li><a h ref="aio.h tml">25) A dvanced IO </a></li>< li><a href ="extras.h tml">26) A dditional Components </a></li>< li><a href ="maven-ja rs.html">2 7) Maveniz ed</a></li ></ul><p>< strong>Ref erence</st rong></p>< ul><li><a href="RELE ASE-NOTES. txt">Relea se Notes</ a></li><li ><a href=" config/ind ex.html">C onfigurati on</a></li ><li><a hr ef="api/in dex.html"> Javadocs</ a></li><li ><a href=" http://tom cat.apache .org/conne ctors-doc/ ">JK 1.2 D ocumentati on</a></li ></ul><p>< strong>Apa che Tomcat Developme nt</strong ></p><ul>< li><a href ="building .html">Bui lding</a>< /li><li><a href="cha ngelog.htm l">Changel og</a></li ><li><a hr ef="http:/ /wiki.apac he.org/tom cat/Tomcat Versions"> Status</a> </li><li>< a href="de velopers.h tml">Devel opers</a>< /li><li><a href="arc hitecture/ index.html ">Architec ture</a></ li><li><a href="func specs/inde x.html">Fu nctional S pecs.</a>< /li></ul>< /td><!--RI GHT SIDE M AIN BODY-- ><td width ="80%" val ign="top" align="lef t" id="mai nBody"><h1 >Apache To mcat 6.0</ h1><h2>Bui lding Tomc at</h2><ta ble border ="0" cells pacing="0" cellpaddi ng="2"><tr ><td bgcol or="#525D7 6"><font c olor="#fff fff" face= "arial,hel vetica.san serif"><a name="Tabl e of Conte nts"><!--( )--></a><a name="Tab le_of_Cont ents"><str ong>Table of Content s</strong> </a></font ></td></tr ><tr><td>< blockquote > | |
| 7 | <ul><li><a href="#In troduction ">Introduc tion</a></ li><li><a href="#Dow nload_a_Ja va_Develop ment_Kit_( JDK)_relea se_(versio n_5)">Down load a Jav a Developm ent Kit (J DK) releas e (version 5)</a></l i><li><a h ref="#Inst all_Apache _Ant_1.6.5 _or_later" >Install A pache Ant 1.6.5 or l ater</a></ li><li><a href="#Che ckout_or_o btain_the_ source_cod e_for_Tomc at_6.0">Ch eckout or obtain the source co de for Tom cat 6.0</a ></li><li> <a href="# Building_T omcat">Bui lding Tomc at</a></li ><li><a hr ef="#Build ing_with_E clipse">Bu ilding wit h Eclipse< /a></li><l i><a href= "#Building _with_othe r_IDEs">Bu ilding wit h other ID Es</a></li ></ul> | |
| 8 | </blockquo te></td></ tr></table ><table bo rder="0" c ellspacing ="0" cellp adding="2" ><tr><td b gcolor="#5 25D76"><fo nt color=" #ffffff" f ace="arial ,helvetica .sanserif" ><a name=" Introducti on"><stron g>Introduc tion</stro ng></a></f ont></td>< /tr><tr><t d><blockqu ote> | |
| 9 | ||
| 10 | <p> | |
| 11 | Building A pache Tomc at from SV N is very easy, and is the fir st step to contribut ing to | |
| 12 | Tomcat. Th e followin g is a ste p by step TODO list. | |
| 13 | </p> | |
| 14 | ||
| 15 | </blockquo te></td></ tr></table ><table bo rder="0" c ellspacing ="0" cellp adding="2" ><tr><td b gcolor="#5 25D76"><fo nt color=" #ffffff" f ace="arial ,helvetica .sanserif" ><a name=" Download a Java Deve lopment Ki t (JDK) re lease (ver sion 5)">< !--()--></ a><a name= "Download_ a_Java_Dev elopment_K it_(JDK)_r elease_(ve rsion_5)"> <strong>Do wnload a J ava Develo pment Kit (JDK) rele ase (versi on 5)</str ong></a></ font></td> </tr><tr>< td><blockq uote> | |
| 16 | ||
| 17 | <p> | |
| 18 | The JDK ca n be downl oaded foll owing the "Previous Releases" link from | |
| 19 | <a href="h ttp://www. oracle.com /technetwo rk/java/ja vase/downl oads/index .html">her e</a>. | |
| 20 | </p> | |
| 21 | ||
| 22 | <p> | |
| 23 | <b>IMPORTA NT</b>: Se t an envir onment var iable JAVA _HOME to t he pathnam e of the | |
| 24 | directory into which you insta lled the J DK release . | |
| 25 | </p> | |
| 26 | ||
| 27 | </blockquo te></td></ tr></table ><table bo rder="0" c ellspacing ="0" cellp adding="2" ><tr><td b gcolor="#5 25D76"><fo nt color=" #ffffff" f ace="arial ,helvetica .sanserif" ><a name=" Install Ap ache Ant 1 .6.5 or la ter"><!--( )--></a><a name="Ins tall_Apach e_Ant_1.6. 5_or_later "><strong> Install Ap ache Ant 1 .6.5 or la ter</stron g></a></fo nt></td></ tr><tr><td ><blockquo te> | |
| 28 | ||
| 29 | <p> | |
| 30 | Download a binary di stribution of Ant 1. 6.5 or lat er from | |
| 31 | <a href="h ttp://ant. apache.org /bindownlo ad.cgi">he re</a>. | |
| 32 | </p> | |
| 33 | ||
| 34 | <p> | |
| 35 | Unpack the binary di stribution into a co nvenient l ocation so that the | |
| 36 | Ant releas e resides in its own directory (conventi onally nam ed | |
| 37 | "apache-an t-1.6.x"). For the purposes o f the rema inder of t his docume nt, | |
| 38 | the symbol ic name "$ {ant.home} " is used to refer t o the full pathname of | |
| 39 | the relea se directo ry. | |
| 40 | </p> | |
| 41 | ||
| 42 | <p> | |
| 43 | Create an ANT_HOME e nvironment variable to point t he directo ry ${ant.h ome}, | |
| 44 | and modify the PATH environmen t variable to includ e director y | |
| 45 | "${ant.hom e}/bin" in its list. This mak es the "an t" command line scri pt | |
| 46 | available, which wil l be used to actuall y perform the build. | |
| 47 | </p> | |
| 48 | ||
| 49 | </blockquo te></td></ tr></table ><table bo rder="0" c ellspacing ="0" cellp adding="2" ><tr><td b gcolor="#5 25D76"><fo nt color=" #ffffff" f ace="arial ,helvetica .sanserif" ><a name=" Checkout o r obtain t he source code for T omcat 6.0" ><!--()--> </a><a nam e="Checkou t_or_obtai n_the_sour ce_code_fo r_Tomcat_6 .0"><stron g>Checkout or obtain the sourc e code for Tomcat 6. 0</strong> </a></font ></td></tr ><tr><td>< blockquote > | |
| 50 | ||
| 51 | <p> | |
| 52 | Tomcat 6 .0 SVN rep ository UR L: | |
| 53 | <a href= "http://sv n.apache.o rg/repos/a sf/tomcat/ tc6.0.x/tr unk/">http ://svn.apa che.org/re pos/asf/to mcat/tc6.0 .x/trunk/< /a> | |
| 54 | </p> | |
| 55 | ||
| 56 | <p> | |
| 57 | Download a source package fr om: | |
| 58 | <a href= "http://to mcat.apach e.org/down load-60.cg i">http:// tomcat.apa che.org/do wnload-60. cgi</a> | |
| 59 | </p> | |
| 60 | ||
| 61 | <p> | |
| 62 | Checkout the sourc e using SV N, selecti ng a tag f or release d version or | |
| 63 | trunk fo r the curr ent develo pment code , or downl oad and un pack a | |
| 64 | source p ackage. Th e location where the source ha s been | |
| 65 | placed w ill be ref erred as < code>${tom cat.source }</code>. | |
| 66 | </p> | |
| 67 | ||
| 68 | </blockquo te></td></ tr></table ><table bo rder="0" c ellspacing ="0" cellp adding="2" ><tr><td b gcolor="#5 25D76"><fo nt color=" #ffffff" f ace="arial ,helvetica .sanserif" ><a name=" Building T omcat"><!- -()--></a> <a name="B uilding_To mcat"><str ong>Buildi ng Tomcat< /strong></ a></font>< /td></tr>< tr><td><bl ockquote> | |
| 69 | ||
| 70 | <p> | |
| 71 | Use the fo llowing co mmands: | |
| 72 | <code><br> | |
| 73 | cd ${t omcat.sour ce}<br> | |
| 74 | ant do wnload<br> | |
| 75 | ant<br > | |
| 76 | </code> | |
| 77 | </p> | |
| 78 | ||
| 79 | <p> | |
| 80 | <b>WARNING :</b> Runn ing "ant d ownload" c ommand wil l download libraries required | |
| 81 | to build Tomcat to the <code >/usr/shar e/java</co de> direct ory by def ault. | |
| 82 | On a typ ical Linux or MacOX system, an ordinary user | |
| 83 | will not have acce ss to writ e to this directory, and, even if you do , | |
| 84 | it may n ot be appr opriate fo r you to w rite there . On Windo ws | |
| 85 | this usu ally corre sponds to the <code> C:\usr\sha re\java</c ode> direc tory, | |
| 86 | unless C ygwin is u sed. Read below to l earn how t o customiz e the dire ctory | |
| 87 | used to download t he binarie s. | |
| 88 | </p> | |
| 89 | ||
| 90 | <p> | |
| 91 | <b>NOTE:</ b> Users a ccessing t he Interne t through a proxy mu st use a p roperties | |
| 92 | file to indicate t o Ant the proxy conf iguration. Read belo w. | |
| 93 | </p> | |
| 94 | ||
| 95 | <p> | |
| 96 | The build can be con trolled by creating a ${tomcat .source}/b uild.prope rties | |
| 97 | file, an d adding t he followi ng content to it: | |
| 98 | <code><br> | |
| 99 | # ---- - Proxy se tup -----< br> | |
| 100 | # Unco mment if u sing a pro xy server. <br> | |
| 101 | #proxy .host=prox y.domain<b r> | |
| 102 | #proxy.por t= PORT <br> | |
| 103 | #proxy .use=on<br > | |
| 104 | <br> | |
| 105 | # ---- - Default Base Path for Depend ent Packag es -----<b r> | |
| 106 | # Repl ace this p ath with t he directo ry path wh ere<br> | |
| 107 | # depe ndencies b inaries sh ould be do wnloaded.< br> | |
| 108 | base.p ath=/home/ me/some-pl ace-to-dow nload-to<b r> | |
| 109 | </code> | |
| 110 | </p> | |
| 111 | ||
| 112 | </blockquo te></td></ tr></table ><table bo rder="0" c ellspacing ="0" cellp adding="2" ><tr><td b gcolor="#5 25D76"><fo nt color=" #ffffff" f ace="arial ,helvetica .sanserif" ><a name=" Building w ith Eclips e"><!--()- -></a><a n ame="Build ing_with_E clipse"><s trong>Buil ding with Eclipse</s trong></a> </font></t d></tr><tr ><td><bloc kquote> | |
| 113 | ||
| 114 | <p> | |
| 115 | <b>Importa nt:</b> | |
| 116 | This is no t a suppor ted means of buildin g Tomcat; this infor mation is | |
| 117 | provided w ithout war ranty :-). | |
| 118 | The only s upported m eans of bu ilding Tom cat is wit h the "ant build" | |
| 119 | described above. | |
| 120 | However, s ome develo pers like to work on Java code with a Ja va IDE, | |
| 121 | and the fo llowing st eps have b een used b y some dev elopers. | |
| 122 | </p> | |
| 123 | ||
| 124 | <p> | |
| 125 | Note that you <b>mus t</b> comp lete all t he above s teps to fe tch | |
| 126 | dependent libraries and build some JAR f iles the f irst time. | |
| 127 | After you have compl eted the a bove steps , you can set up an | |
| 128 | Eclipse pr oject. | |
| 129 | <b>Note</b > that thi s will not let you b uild every thing unde r Eclipse; | |
| 130 | the build process re quires use of Ant fo r the many stages th at aren't | |
| 131 | simple Jav a compilat ions. | |
| 132 | However, i t will all ow you to view and e dit the Ja va code, | |
| 133 | get warnin gs, reform at code, p erform ref actorings, run Tomca t | |
| 134 | under the IDE, and s o on. | |
| 135 | </p> | |
| 136 | ||
| 137 | <p> | |
| 138 | Use Window s->Pref erences an d then Jav a->Buil d Path-> ;Classpath | |
| 139 | Variables to add two new Class path varia bles: | |
| 140 | </p> | |
| 141 | ||
| 142 | <p> | |
| 143 | <table bor der="1"> | |
| 144 | <tr><td>T OMCAT_LIBS _BASE</td> <td>the ba se path wh ere the bi nary depen dencies ha ve been do wnloaded</ td></tr> | |
| 145 | <tr><td>A NT_HOME</t d><td>the base path of Ant 1.6 .2 or late r</td></tr > | |
| 146 | </table> | |
| 147 | </p> | |
| 148 | ||
| 149 | <p> | |
| 150 | There are two files in the roo t director y, <code>e clipse.cla sspath</co de> and | |
| 151 | <code>ecli pse.projec t</code>. Create the ir copies with new n ames, | |
| 152 | <code>.cla sspath</co de> and <c ode>.proje ct</code> respective ly. | |
| 153 | </p> | |
| 154 | ||
| 155 | <p> | |
| 156 | Use File-& gt;Import and chose "Existing Projects i nto Worksp ace". | |
| 157 | From there import th e root dir ectory whe re you hav e checked out tomcat . | |
| 158 | </p> | |
| 159 | ||
| 160 | <p> | |
| 161 | Eclipse .p roject and .classpat h files pr ovided in the root d irectory o f | |
| 162 | tomcat rep ository sh ould allow Eclipse t o find all source tr ees and ja rs, and | |
| 163 | hopefully compile wi thout prob lems. <b>N ote</b> th at these | |
| 164 | files assu me you are using Ecl ipse with a 5.0 or l ater JDK. | |
| 165 | </p> | |
| 166 | ||
| 167 | <p> | |
| 168 | To run Tom cat withou t a specia l IDE plug -in, you c an simply use Run-&g t;Run... | |
| 169 | enter "org .apache.ca talina.sta rtup.Catal ina" as th e main cla ss, | |
| 170 | "start" as program a rguments, and | |
| 171 | "-Dcatalin a.home=... " (with th e name of your build directory ) | |
| 172 | as VM argu ments. | |
| 173 | </p> | |
| 174 | ||
| 175 | </blockquo te></td></ tr></table ><table bo rder="0" c ellspacing ="0" cellp adding="2" ><tr><td b gcolor="#5 25D76"><fo nt color=" #ffffff" f ace="arial ,helvetica .sanserif" ><a name=" Building w ith other IDEs"><!-- ()--></a>< a name="Bu ilding_wit h_other_ID Es"><stron g>Building with othe r IDEs</st rong></a>< /font></td ></tr><tr> <td><block quote> | |
| 176 | <p> | |
| 177 | The same c aveats app ly as for Eclipse, a bove. | |
| 178 | </p> | |
| 179 | ||
| 180 | <p> | |
| 181 | The same g eneral ide a should w ork in mos t IDEs; it has been reported | |
| 182 | to work in Idea, for example. | |
| 183 | </p> | |
| 184 | ||
| 185 | </blockquo te></td></ tr></table ></td></tr ><!--FOOTE R SEPARATO R--><tr><t d colspan= "2"><hr no shade="nos hade" size ="1"></td> </tr><!--P AGE FOOTER --><tr><td colspan=" 2"><div al ign="cente r"><font c olor="#525 D76" size= "-1"><em> | |
| 186 | Co pyright &c opy; 1999- 2013, Apac he Softwar e Foundati on | |
| 187 | </ em></font> </div></td ></tr></ta ble></body ></html> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.