tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hgo...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/xdocs/jk buildjk.xml
Date Mon, 02 Sep 2002 16:02:10 GMT
hgomez      2002/09/02 09:02:10

  Modified:    jk/xdocs style.css.in
               jk/xdocs/jk buildjk.xml
  Log:
  Fix DOS colors and update builddoc.
  Included building instruction for IIS which will certainly be moved
  in a separate file
  
  Revision  Changes    Path
  1.4       +4 -4      jakarta-tomcat-connectors/jk/xdocs/style.css.in
  
  Index: style.css.in
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/style.css.in,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- style.css.in	2 Sep 2002 10:54:33 -0000	1.3
  +++ style.css.in	2 Sep 2002 16:02:10 -0000	1.4
  @@ -150,7 +150,7 @@
   p.screendos {
     background-color: #000000;
     border-style: none;
  -  color: #ffffff;
  +  color: #c0c0c0;
     margin-left: 10px;
     margin-right: 0px;
     text-align: left;
  @@ -174,7 +174,7 @@
   div.screendos {
     margin: 10px 0px 10px 20px;
     font-size: smaller;
  -  color: #ff66ff;
  +  color: #ffffff;
   }
   
   div.screen5250 {
  @@ -192,7 +192,7 @@
   em.screendos {
     font-weight: normal;
     font-style: normal;
  -  color: #ffffff;
  +  color: #c0c0c0;
   }
   
   em.screen5250 {
  @@ -210,7 +210,7 @@
   b.screendos {
     font-weight: normal;
     font-style: normal;
  -  color: #ffffff;
  +  color: #c0c0c0;
   }
   
   b.screen5250 {
  
  
  
  1.2       +71 -20    jakarta-tomcat-connectors/jk/xdocs/jk/buildjk.xml
  
  Index: buildjk.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/xdocs/jk/buildjk.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- buildjk.xml	2 Sep 2002 10:52:17 -0000	1.1
  +++ buildjk.xml	2 Sep 2002 16:02:10 -0000	1.2
  @@ -36,7 +36,7 @@
   </p>
   
   <p>
  -You could set CFLAGS and LDFLAGS to add some platform specifics:
  +You could set <b>CFLAGS</b> and <b>LDFLAGS</b> to add some platform
specifics:
   </p>
   
   <screen>
  @@ -156,23 +156,47 @@
   Change directory to the apache 1.3 or apache 2.0 source directory depending on your version
of Apache.
   </li>
   <li>
  -Set an APACHE1_HOME environment variable which points to where your Apache is installed.
  +If you want to build mod_jk for Apache 1.3, set an <b>APACHE1_HOME</b> environment
variable which points 
  +to where your Apache 1.3 is installed.
  +A mod_jk module for Apache 2.0 build will require <b>APACHE2_HOME</b> environment
variable to be set. 
   </li>
   <li>
  -Execute the following command:
  +Copy mod_jk.dll to Apache's modules directory.
   </li>
   </ul>
  +<p>
  +An example on how to build mod_jk for Apache 1.3:
  +</p>
   <screendos>
  +<notedos>Set location for Apache 1.3 sources</notedos>
  +<typedos>set APACHE1_HOME=c:\apache13</typedos>
  +<notedos>Change directory to the mod_jk module for Apache 1.3</notedos>
  +<typedos>cd c:\home\apache\jk\native\apache-1.3</typedos>
  +<notedos>Build the sources using MSDEV</notedos>
   <typedos>MSDEV mod_jk.dsp /MAKE ALL</typedos>
  +<notedos>Copy the dll to your apache modules directory</notedos>
  +<typedos>cp release\mod_jk.dll c:\apache13\modules\</typedos>
  +</screendos>
  +
  +<p>
  +An example on how to build mod_jk for Apache 2.0:
  +</p>
  +<screendos>
  +<notedos>Set location for Apache 2.0 sources</notedos>
  +<typedos>set APACHE2_HOME=c:\apache20</typedos>
  +<notedos>Change directory to the mod_jk module for Apache 2.0</notedos>
  +<typedos>cd c:\home\apache\jk\native\apache-2.0</typedos>
  +<notedos>Build the sources using MSDEV</notedos>
  +<typedos>MSDEV mod_jk.dsp /MAKE ALL</typedos>
  +<notedos>Copy the dll to your apache modules directory</notedos>
  +<typedos>cp release\mod_jk.dll c:\apache20\modules\</typedos>
   </screendos>
   
  -If msdev is not in your path, enter the full path to msdev.exe. Also, ApacheCore.lib is
expected to exist in the APACHE1_HOME\src\CoreD and APACHE1_HOME\src\CoreR directories before
linking will succeed. You will need to build enough of the Apache source to create these libraries.
  -<ul>
  -<li>
  -Copy mod_jk.dll to Apache's modules directory.
  -</li>
  -</ul>
   <p>
  +If msdev is not in your path, enter the full path to msdev.exe. 
  +Also, ApacheCore.lib is expected to exist in the <b>${APACHEX_HOME}\src\CoreD</b>
and 
  +<b>${APACHEX_HOME}\src\CoreR</b> directories before linking will succeed.
  +You will need to build enough of the Apache source to create these libraries.
   This will build both release and debug versions of the redirector plug-in (mod_jk).
   An alternative will be to open mod_jk.dsp in msdev and build it using the build menu.
   </p>
  @@ -211,15 +235,19 @@
   <note5250>Create the CL build program source file</note5250>
   <type5250>CRTSRCPF FILE(MOD_JK/QCLSRC) TEXT(‘Build program source file’)</type5250>
   <note5250>Edit the service program source file</note5250>
  -<type5250>STRSEU MOD_JK/QSRVSRC MOD_GZIP</type5250>
  +<type5250>STRSEU MOD_JK/QSRVSRC MOD_JK</type5250>
   </screen5250>
   <p>
  -In the edited file, add :
  -<source>
  -STRPGMEXP PGMLVL(*CURRENT)
  -EXPORT SYMBOL("jk_module")
  -ENDPGMEXP
  -</source>
  +In the edited file, specify that only jk_module should be exported :
  +<screen5250>
  +<type5250next> Columns   . . :    1  71     Edit                               MOD_JK/QSRVSRC
</type5250next>
  +<type5250next> SEU==>                                                        
         MOD_JK </type5250next>
  +<type5250next>        *************** Beginning of data *************************************
</type5250next>
  +<type5250next>0001.00 STRPGMEXP PGMLVL(*CURRENT)                                
             </type5250next>
  +<type5250next>0002.00 EXPORT SYMBOL("jk_module")                                
             </type5250next>
  +<type5250next>0003.00 ENDPGMEXP                                                 
             </type5250next>
  +<type5250next>        ****************** End of data ****************************************
</type5250next>        
  +</screen5250>
   </p>
   <p>
   You could start to build all the modules of mod_jk :
  @@ -229,20 +257,43 @@
   <type5250>CPYFRMSTMF FROMSTMF('/home/apache/jk/native/apache-2.0/bldjk.qcsrc') +</type5250>
   <type5250next>TOMBR('/QSYS.LIB/MOD_JK.LIB/QCLSRC.FILE/BLDJK.MBR') MBROPT(*REPLACE)</type5250next>
   <note5250>Build the CL build program</note5250>
  -<type5250>CRTCLPGM PGM(MOD_JK/BLDJK) SRCFILE(MOD_JK/QCLSRC) TEXT('Apache mod_jk build
program')</type5250><br/>
  +<type5250>CRTCLPGM PGM(MOD_JK/BLDJK) SRCFILE(MOD_JK/QCLSRC) TEXT('Apache mod_jk build
program')</type5250>
   <note5250>Launch the build</note5250>
   <type5250>CALL MOD_JK/BLDJK</type5250><br/>
   <note5250>If the build if successfull, copy the new mod_jk module</note5250>
  -<type5250>CPY OBJ(MOD_JK/MOD_JK) TODIR(QHTTPSVR) TOOBJ(QZTCJK)</type5250><br/>
  +<type5250>CRTDUPOBJ OBJ(MOD_JK) FROMLIB(MOD_JK) OBJTYPE(*SRVPGM) TOLIB(QHTTPSVR)
NEWOBJ(QZTCJK)</type5250>
   </screen5250>
   <p>
   Next, you should restart your Apache 2.0 server and enjoy this piece of OpenSource on iSeries.
   </p>
   </section>
   
  -<section name="NES/iPlanet">
  +<section name="Build ISAPI redirector">
  +<p>
  +The redirector was developed using Visual C++ Ver.6.0, so having this environment is a
prereq if you want 
  +to perform a custom build. You should also have IIS developer SDK
  +
  +The steps that you need to take are:
  +<ul>
  +<li>
  +Change directory to the isapi plugins source directory.
  +</li>
  +<li>
  +Make the source with MSDEV
  +</li>
  +</ul>
  +<screendos>
  +<notedos>Change directory to the isapi plugins source directory</notedos>
  +<typedos>cd c:\home\apache\jk\isapi</typedos>
  +<notedos>Build the sources using MSDEV</notedos>
  +<typedos>MSDEV isapi.dsp /MAKE ALL</typedos>
  +</screendos>
  +</p>
   <p>
  -Informations and FAQ about mod_jk and NES/iPlanet Web Servers. 
  +If msdev is not in your path, enter the full path to msdev.exe. 
  +This will build both release and debug versions of the redirector plugin.
  +An alternative will be to open the isapi workspace file (isapi.dsw) in msdev and 
  +build it using the build menu.
   </p>
   </section>
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message