vmassol     02/02/09 10:35:11

  Modified:    docs/framework/xdocs changes.xml doc-book.xml site-book.xml
  Added:       docs/framework/xdocs howto_migration.xml
  Log:
  new migration tutorial that explains how to move from Cactus 1.2 to Cactus 1.3. 
Thanks to Florent Nisseron for the suggestion.
  
  Revision  Changes    Path
  1.82      +4 -0      jakarta-cactus/docs/framework/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/docs/framework/xdocs/changes.xml,v
  retrieving revision 1.81
  retrieving revision 1.82
  diff -u -r1.81 -r1.82
  --- changes.xml       9 Feb 2002 14:48:49 -0000       1.81
  +++ changes.xml       9 Feb 2002 18:35:11 -0000       1.82
  @@ -88,6 +88,10 @@
   
       <release version="1.3 in CVS">
         <action dev="VMA" type="add">
  +        <link href="howto_migration.html">Migration tutorial</link> that
  +        explains how to move from Cactus 1.2 to Cactus 1.3
  +      </action>
  +      <action dev="VMA" type="add">
           Cactus now supports JDK 1.4. Actually the only change made to support it
           was to use the <code>assertXXX()</code> methods of JUnit instead of
           the <code>assert()</code> one, which is now a reserved keyword in
  
  
  
  1.37      +1 -0      jakarta-cactus/docs/framework/xdocs/doc-book.xml
  
  Index: doc-book.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/docs/framework/xdocs/doc-book.xml,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- doc-book.xml      20 Jan 2002 18:36:09 -0000      1.36
  +++ doc-book.xml      9 Feb 2002 18:35:11 -0000       1.37
  @@ -33,6 +33,7 @@
   
     <menu label="Howto Guides">
       <menu-item label="Config Howto" source="howto_config.xml"/>
  +    <menu-item label="Migration Howto" source="howto_migration.xml"/>
   
       <!-- TestCase tutorials -->
       <menu-item label="TestCase Howto" source="howto_testcase.xml"/>
  
  
  
  1.33      +1 -0      jakarta-cactus/docs/framework/xdocs/site-book.xml
  
  Index: site-book.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/docs/framework/xdocs/site-book.xml,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- site-book.xml     20 Jan 2002 18:36:09 -0000      1.32
  +++ site-book.xml     9 Feb 2002 18:35:11 -0000       1.33
  @@ -33,6 +33,7 @@
   
     <menu label="Howto Guides">
       <menu-item label="Config Howto" source="howto_config.xml"/>
  +    <menu-item label="Migration Howto" source="howto_migration.xml"/>
   
       <!-- TestCase tutorials -->
       <menu-item label="TestCase Howto" source="howto_testcase.xml"/>
  
  
  
  1.1                  jakarta-cactus/docs/framework/xdocs/howto_migration.xml
  
  Index: howto_migration.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <!DOCTYPE document SYSTEM "./dtd/document-v10.dtd">
  
  <document>
    <header>
      <title>Migration Howto</title>
      <authors>
        <person name="Vincent Massol" email="[EMAIL PROTECTED]"/>
      </authors>
    </header>
  
    <body>
  
      <s1 title="From Cactus 1.2 to 1.3">
  
        <p>
          Here are the steps to migrate from Cactus 1.2 to 1.3
        </p>
  
        <note>
          This migration guide does not explain any of the new feature of
          Cactus 1.3 but concentrates on making you move from Cactus 1.2 to 1.3.
        </note>
  
        <p>
          Let's call <code>CACTUS_HOME</code> the directory where you unzipped
          the Cactus distribution.
        </p>
  
        <p>
          Follow these steps :
        </p>
        <ul>
          <li>
            <strong>Step 1</strong> : Put <code>aspectjrt.jar</code> (found in
            <code>CACTUS_HOME/lib</code>) in both your client side and server
            side classpaths.
          </li>
          <li>
            <strong>Step 2</strong> : Modify your <code>cactus.properties</code>
            to the new format. For example:
          </li>
  <source><![CDATA[
  cactus.contextURL = http://localhost:8000/cactus
  cactus.servletRedirectorName = ServletRedirector
  ]]></source>
          <li>
            <strong>Step 3</strong> : Ensure that
            <code>cactus.servletRedirectorName</code> does
            not end with a "/" and that the mapping in <code>web.xml</code>
            matches it :
          </li>
  <source><![CDATA[
      <servlet-mapping>
          <servlet-name>ServletRedirector</servlet-name>
          <url-pattern>/ServletRedirector</url-pattern>
      </servlet-mapping>
  ]]></source>
        </ul>
  
      </s1>
  
    </body>
  </document>
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to