cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: xml-cocoon2/tools/jetty/conf jettyconf.xml
Date Tue, 03 Dec 2002 00:11:24 GMT
nicolaken    2002/12/02 16:11:24

  Modified:    .        build.bat changes.xml
  Added:       tools/jetty/conf jettyconf.xml
  Log:
    <action dev="NKB" type="update">
      Moved endorsed libs in ./lib/endorsed, so that they can be added in the build file
      easily as java jvm args, or in the future copied to the webserver or Java endorsed dir.
      Currently it enables Jetty to run easily in 1.4 JVMs without need to copy libs to
      the endorsed dir.
    </action>
    <action dev="NKB" type="add">
      Added jetty webserver for fast and easy Cocoon test and evaluation.
      To run launch "build run" and point the browser to http://localhost:8888/
      Since it seems there is a bug somewhere, ATM point to
      http://localhost:8888/documentation/index.html to see the page.
    </action>
  
  Revision  Changes    Path
  1.20      +4 -1      xml-cocoon2/build.bat
  
  Index: build.bat
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.bat,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- build.bat	25 Oct 2002 00:43:27 -0000	1.19
  +++ build.bat	3 Dec 2002 00:11:23 -0000	1.20
  @@ -7,12 +7,15 @@
   
   rem ----- Copy Xalan and Xerces for the build system    ------------------------
   if not exist "tools\lib\xerces*.jar" copy lib\local\xerces*.jar tools\lib
  +if not exist "tools\lib\xerces*.jar" copy lib\endorsed\xerces*.jar tools\lib
   if not exist "tools\lib\xerces*.jar" copy lib\optional\xerces*.jar tools\lib
   if not exist "tools\lib\xerces*.jar" copy lib\core\xerces*.jar tools\lib
   if not exist "tools\lib\xalan*.jar" copy lib\local\xalan*.jar tools\lib
  +if not exist "tools\lib\xalan*.jar" copy lib\endorsed\xalan*.jar tools\lib
   if not exist "tools\lib\xalan*.jar" copy lib\optional\xalan*.jar tools\lib
   if not exist "tools\lib\xalan*.jar" copy lib\core\xalan*.jar tools\lib
   if not exist "tools\lib\xml-api*.jar" copy lib\local\xml-api*.jar tools\lib
  +if not exist "tools\lib\xml-api*.jar" copy lib\endorsed\xml-api*.jar tools\lib
   if not exist "tools\lib\xml-api*.jar" copy lib\optional\xml-api*.jar tools\lib
   if not exist "tools\lib\xml-api*.jar" copy lib\core\xml-api*.jar tools\lib
   
  
  
  
  1.296     +13 -1     xml-cocoon2/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/changes.xml,v
  retrieving revision 1.295
  retrieving revision 1.296
  diff -u -r1.295 -r1.296
  --- changes.xml	1 Dec 2002 22:11:24 -0000	1.295
  +++ changes.xml	3 Dec 2002 00:11:23 -0000	1.296
  @@ -40,6 +40,18 @@
    </devs>
   
    <release version="@version@" date="@date@">
  +  <action dev="NKB" type="update">
  +    Moved endorsed libs in ./lib/endorsed, so that they can be added in the build file
  +    easily as java jvm args, or in the future copied to the webserver or Java endorsed
dir.
  +    Currently it enables Jetty to run easily in 1.4 JVMs without need to copy libs to
  +    the endorsed dir.
  +  </action>    
  +  <action dev="NKB" type="add">
  +    Added jetty webserver for fast and easy Cocoon test and evaluation. 
  +    To run launch "build run" and point the browser to http://localhost:8888/
  +    Since it seems there is a bug somewhere, ATM point to 
  +    http://localhost:8888/documentation/index.html to see the page.
  +  </action>   
     <action dev="SW" type="update">
      The HTMLGenerator now accepts a JTidy configuration file for fine-grained
      control on the generated document.
  
  
  
  1.1                  xml-cocoon2/tools/jetty/conf/jettyconf.xml
  
  Index: jettyconf.xml
  ===================================================================
  <?xml version="1.0"  encoding="ISO-8859-1"?>
  <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.2//EN" "http://jetty.mortbay.org/configure_1_2.dtd">
  
  
  <!-- =============================================================== -->
  <!-- Configure the Jetty Server                                      -->
  <!-- =============================================================== -->
  
  <Configure class="org.mortbay.jetty.Server">
  
    <!-- =============================================================== -->
    <!-- Configure the Request Listeners                                 -->
    <!-- =============================================================== -->
  
  
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <!-- Add and configure a HTTP listener to port 8080                       -->
    <!-- The default port can be changed using: java -Djetty.port=80     -->
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <Call name="addListener">
      <Arg>
        <New class="org.mortbay.http.SocketListener">
          <Set name="Port"><SystemProperty name="jetty.port" default="8888"/></Set>
          <Set name="MinThreads">5</Set>
          <Set name="MaxThreads">100</Set>
          <Set name="MaxIdleTimeMs">30000</Set>
          <Set name="LowResourcePersistTimeMs">5000</Set>
        </New>
      </Arg>
    </Call>
  
  
    <!-- =============================================================== -->
    <!-- Configure the Contexts                                          -->
    <!-- =============================================================== -->
  
  
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <!-- Add root context web applications.                              -->
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <!-- Add a all web application within the webapps directory.         -->
    <!-- + No virtual host specified                                     -->
    <!-- + Look in the webapps directory relative to jetty.home or .     -->
    <!-- + Use the webdefault.xml resource for the defaults descriptor   -->
    <!-- + Upack the war file                                            -->
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  
    <Call name="addWebApplication">
      <Arg>/</Arg>
      <Arg>.</Arg>
    </Call>
  
  </Configure>
  
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message