attic-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1696636 [3/6] - in /jakarta/site/docs/cactus: ./ images/ integration/ integration/eclipse/ integration/manual/ integration/maven/ participating/ resources/ writing/
Date Wed, 19 Aug 2015 17:50:27 GMT
Added: jakarta/site/docs/cactus/integration/eclipse/index.html
URL: http://svn.apache.org/viewvc/jakarta/site/docs/cactus/integration/eclipse/index.html?rev=1696636&view=auto
==============================================================================
--- jakarta/site/docs/cactus/integration/eclipse/index.html (added)
+++ jakarta/site/docs/cactus/integration/eclipse/index.html Wed Aug 19 17:50:26 2015
@@ -0,0 +1,543 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+<html>
+  <head>
+
+
+    <title>Jakarta Cactus - 
+    Cactus integration in Eclipse</title>
+    <style type="text/css" media="all">
+      @import url("http://jakarta.apache.org/cactus/css/maven-base.css");
+      @import url("http://jakarta.apache.org/cactus/css/maven-theme.css");
+      @import url("http://jakarta.apache.org/cactus/css/site.css");
+    </style>
+    <link rel="stylesheet" href="http://jakarta.apache.org/cactus/css/print.css" type="text/css" media="print" />
+        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+      </head>
+  <body class="composite">
+
+
+<div style="background: red"><h1>2011/08/05 - Jakarta Cactus has been retired. </h1><h2>For more information, please explore the <a href="http://attic.apache.org/">Attic</a>. </h2></div>
+    <div id="banner">
+                  <a href="" id="bannerLeft">
+    
+                                            <img src="http://jakarta.apache.org/cactus/images/logocactus.gif" alt="" />
+    
+            </a>
+                        <a href="http://jakarta.apache.org/cactus/integration/" id="bannerRight">
+    
+                                            <img src="http://jakarta.apache.org/cactus/images/jakarta-logo.gif" alt="" />
+    
+            </a>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+          
+  
+
+  
+    
+  
+  
+            <div class="xleft">
+        Last Published: 01/18/2009
+                          |   
+          <a href="http://www.apache.org/">Apache</a>
+              &gt;
+      
+          <a href="http://www.jakarta.apache.org/">Jakarta</a>
+              &gt;
+      
+          <a href="http://jakarta.apache.org/cactus/">Cactus</a>
+                        </div>
+            <div class="xright">      
+  
+
+  
+    
+  
+  
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+           
+  
+
+  
+    
+  
+  
+                   <h5>About</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/index.html">Overview</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/goals.html">Goals</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/features.html">Features</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/news.html">News</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/downloads.html">Downloads</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10471">Bug Database</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/mail-lists.html">Mailing Lists</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/faq.html">FAQ</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://wiki.apache.org/jakarta-cactus/FrontPage">Wiki</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/license.html">License</a>
+        </li>
+          </ul>
+          <h5>Project Documentation</h5>
+        <ul>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/project-info.html">Project Information</a>
+              </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/project-reports.html">Project Reports</a>
+              </li>
+          </ul>
+          <h5>Documentation</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/getting_started.html">Getting started</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/how_it_works.html">How it works</a>
+        </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/writing/howto_ejb.html">Writing tests</a>
+              </li>
+              
+                
+              
+      
+            
+            
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+                  
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+                  
+      
+            
+      
+            
+      
+                  
+      
+            
+      
+            
+      
+              
+            <li class="expanded">
+              <a href="http://jakarta.apache.org/cactus/integration/index.html">Running tests</a>
+                <ul>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/manual/index.html">Manual</a>
+        </li>
+                  
+    <li class="none">
+              <strong>Eclipse</strong>
+        </li>
+                  
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/integration/ant/index.html">Ant</a>
+              </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/integration_browser.html">Browser</a>
+        </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/howto_tomcat.html">Tomcat</a>
+        </li>
+                  
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/integration/maven/index.html">Maven</a>
+              </li>
+                  
+                
+              
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/integration/maven2/index.html">Maven2</a>
+              </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/integration_jetty.html">Jetty</a>
+        </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/howto_ide.html">Various IDEs</a>
+        </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/howto_junitee.html">JUnitEE</a>
+        </li>
+              </ul>
+        </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/participating/index.html">Participating</a>
+              </li>
+          </ul>
+          <h5>Miscellaneous</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/cactusname.html">Why the name</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/mock_vs_cactus.html">Mock vs Container</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://wiki.apache.org/jakarta-cactus/TestedOn">Tested On...</a>
+        </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/resources/index.html">Resources</a>
+              </li>
+          </ul>
+          <h5>Translations</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://www.ressources-java.net/cactus">French</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache-korea.org/cactus/index.html">Korean</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://www.jajakarta.org/cactus/">Japanese</a>
+        </li>
+          </ul>
+          <h5>See also</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://www.apachebookstore.com/">Apache Bookstore</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://www.planetapache.org/">Planet Apache</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://apache.org/foundation/thanks.html">Apache Sponsors</a>
+        </li>
+          </ul>
+                                             
+                        
+                        
+            <a href="http://jakarta.apache.org/cactus/" title="Jakarta Cactus" id="poweredBy">
+                            <img alt="Jakarta Cactus" src="http://jakarta.apache.org/cactus/images/cactusbanner.gif" />
+            </a>
+                               
+  
+
+  
+    
+  
+  
+        </div>
+    </div>
+    <div id="bodyColumn">
+      <div id="contentBox">
+        
+
+  
+
+  
+    <a name="Overview"></a><div class="section"><h2>Overview</h2>
+
+      <note><strong>
+        The Eclipse plugin is a work in progress. In the past it was working, but
+        since we moved to the new Ant integration it has been broken. This 
+        requires a rewrite of the plugin code to fix. In the meantime, we have
+        removed the plugin download. Sorry about that. Any help will be much
+        welcome.
+      </strong></note>
+
+      <p>
+        The integration of Cactus in the 
+	<a href="http://www.eclipse.org/">Eclipse</a> platform relies on 2 separate plug-ins :
+      </p>
+      <li>
+	      The <a href="http://jakarta.apache.org/cactus/integration/eclipse/runner_plugin.html">Cactus runner 
+        plug-in</a>
+      </li>
+      <li>
+	      The <a href="http://jakarta.apache.org/cactus/integration/eclipse/webapp_plugin.html">Webapp Eclipse 
+        plug-in</a>
+      </li>
+    </div>
+
+    <anchor id="features"></anchor>
+    <a name="Features at a glance"></a><div class="section"><h2>Features at a glance</h2>
+      <ul>
+        <li>
+          Shortcut for launching Cactus tests<br></br>
+          
+          <img src="http://jakarta.apache.org/cactus/images/eclipse/runner/launchshortcut.png" alt="Cactus launch shortcut"></img>
+             
+        </li>
+      </ul>
+      <ul>
+        <li>
+          Project property page for setting up the web application.<br></br>
+          
+          <img src="http://jakarta.apache.org/cactus/images/eclipse/webapp/propertypage.png" alt="Webapp property page"></img>
+          
+        </li>
+      </ul>    
+    </div>
+
+    <anchor id="installation"></anchor>
+    <a name="Installation"></a><div class="section"><h2>Installation</h2>
+	    <a name="Requirements"></a><div class="section"><h2>Requirements</h2>
+        
+          A version of the Eclipse platform later than 2.1 RC2 is needed.
+        
+      </div>
+      <a name="Installation"></a><div class="section"><h2>Installation</h2>
+        
+          Connect to the Cactus update site (available soon) from Eclipse
+          to install both plug-ins at once as an <code>Eclipse feature</code>.
+        
+      </div>
+      <a name="Configuration"></a><div class="section"><h2>Configuration</h2>
+        <p>
+          The plug-ins are functional 'off the shelf'.
+          Refer to the corresponding plug-in section for specific configuration.
+        </p>
+      </div>
+    </div>
+
+  
+
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">&#169;  
+          2001-2009
+    
+          Apache Software Foundation
+          
+  
+
+  
+    
+  
+  
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>

Propchange: jakarta/site/docs/cactus/integration/eclipse/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: jakarta/site/docs/cactus/integration/index.html
URL: http://svn.apache.org/viewvc/jakarta/site/docs/cactus/integration/index.html?rev=1696636&view=auto
==============================================================================
--- jakarta/site/docs/cactus/integration/index.html (added)
+++ jakarta/site/docs/cactus/integration/index.html Wed Aug 19 17:50:26 2015
@@ -0,0 +1,536 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+<html>
+  <head>
+
+
+    <title>Jakarta Cactus - 
+    Runners Howto</title>
+    <style type="text/css" media="all">
+      @import url("http://jakarta.apache.org/cactus/css/maven-base.css");
+      @import url("http://jakarta.apache.org/cactus/css/maven-theme.css");
+      @import url("http://jakarta.apache.org/cactus/css/site.css");
+    </style>
+    <link rel="stylesheet" href="http://jakarta.apache.org/cactus/css/print.css" type="text/css" media="print" />
+        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+      </head>
+  <body class="composite">
+
+
+<div style="background: red"><h1>2011/08/05 - Jakarta Cactus has been retired. </h1><h2>For more information, please explore the <a href="http://attic.apache.org/">Attic</a>. </h2></div>
+    <div id="banner">
+                  <a href="" id="bannerLeft">
+    
+                                            <img src="http://jakarta.apache.org/cactus/images/logocactus.gif" alt="" />
+    
+            </a>
+                        <a href="http://jakarta.apache.org/cactus/" id="bannerRight">
+    
+                                            <img src="http://jakarta.apache.org/cactus/images/jakarta-logo.gif" alt="" />
+    
+            </a>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+          
+  
+
+  
+    
+  
+  
+            <div class="xleft">
+        Last Published: 01/18/2009
+                          |   
+          <a href="http://www.apache.org/">Apache</a>
+              &gt;
+      
+          <a href="http://www.jakarta.apache.org/">Jakarta</a>
+              &gt;
+      
+          <a href="http://jakarta.apache.org/cactus/">Cactus</a>
+                        </div>
+            <div class="xright">      
+  
+
+  
+    
+  
+  
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+           
+  
+
+  
+    
+  
+  
+                   <h5>About</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/index.html">Overview</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/goals.html">Goals</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/features.html">Features</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/news.html">News</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/downloads.html">Downloads</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10471">Bug Database</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/mail-lists.html">Mailing Lists</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/faq.html">FAQ</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://wiki.apache.org/jakarta-cactus/FrontPage">Wiki</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/license.html">License</a>
+        </li>
+          </ul>
+          <h5>Project Documentation</h5>
+        <ul>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/project-info.html">Project Information</a>
+              </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/project-reports.html">Project Reports</a>
+              </li>
+          </ul>
+          <h5>Documentation</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/getting_started.html">Getting started</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/how_it_works.html">How it works</a>
+        </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/writing/howto_ejb.html">Writing tests</a>
+              </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+                  
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+                  
+      
+            
+      
+            
+      
+                  
+      
+            
+      
+            
+      
+              
+            <li class="expanded">
+              <strong>Running tests</strong>
+                <ul>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/manual/index.html">Manual</a>
+        </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/eclipse/index.html">Eclipse</a>
+        </li>
+                  
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/integration/ant/index.html">Ant</a>
+              </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/integration_browser.html">Browser</a>
+        </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/howto_tomcat.html">Tomcat</a>
+        </li>
+                  
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/integration/maven/index.html">Maven</a>
+              </li>
+                  
+                
+              
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/integration/maven2/index.html">Maven2</a>
+              </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/integration_jetty.html">Jetty</a>
+        </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/howto_ide.html">Various IDEs</a>
+        </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/howto_junitee.html">JUnitEE</a>
+        </li>
+              </ul>
+        </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/participating/index.html">Participating</a>
+              </li>
+          </ul>
+          <h5>Miscellaneous</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/cactusname.html">Why the name</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/mock_vs_cactus.html">Mock vs Container</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://wiki.apache.org/jakarta-cactus/TestedOn">Tested On...</a>
+        </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/resources/index.html">Resources</a>
+              </li>
+          </ul>
+          <h5>Translations</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://www.ressources-java.net/cactus">French</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache-korea.org/cactus/index.html">Korean</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://www.jajakarta.org/cactus/">Japanese</a>
+        </li>
+          </ul>
+          <h5>See also</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://www.apachebookstore.com/">Apache Bookstore</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://www.planetapache.org/">Planet Apache</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://apache.org/foundation/thanks.html">Apache Sponsors</a>
+        </li>
+          </ul>
+                                             
+                        
+                        
+            <a href="http://jakarta.apache.org/cactus/" title="Jakarta Cactus" id="poweredBy">
+                            <img alt="Jakarta Cactus" src="http://jakarta.apache.org/cactus/images/cactusbanner.gif" />
+            </a>
+                               
+  
+
+  
+    
+  
+  
+        </div>
+    </div>
+    <div id="bodyColumn">
+      <div id="contentBox">
+        
+
+  
+
+  
+
+    <a name="Starting Cactus tests"></a><div class="section"><h2>Starting Cactus tests</h2>
+
+      <p>
+        The Cactus tests are started using a JUnit Test Runner. There are
+        several integration clients you can use for executing these test runners:
+      </p>
+      <ul>
+        <li>
+		<a href="manual/index.html">Manually</a>. This means 
+          that you need to deploy your code and tests into your container and
+          start this container by yourself. Then you can execute the tests 
+          by running a standard JUnit test Runner. For example, you can start
+          the tests:
+          <ul>
+            <li>
+              From the java command line, calling the <code>main()</code> 
+              method of a JUnit Test Runner. For example, running the JUnit 
+              Swing Test Runner:
+              <code>junit.swingui.TestRunner.main [test case class]</code>
+            </li>
+            <li>
+	    <a href="howto_ide.html">From an IDE</a> or any tool 
+              providing a JUnit integration plugin.
+            </li>
+            <li>
+		    <a href="integration_browser.html">From a browser</a>, by
+              using the Cactus Servlet Test Runner, which is a special JUnit 
+              Test Runner. Please also check the 
+	      <a href="howto_tomcat.html">Tomcat quick start tutorial</a>
+              which is a step by step tutorial describing how to deploy Cactus 
+              tests in Tomcat and how to execute them through a browser.
+            </li>
+            <li>
+              From Ant by simply using the <code>&lt;junit&gt;</code> Ant task
+              found in the Ant distribution.
+            </li>
+          </ul>
+        </li>
+        <li>
+		Using the Cactus <a href="ant/index.html">Ant 
+          integration</a>. Cactus provides several custom Ant task to
+          automate the deployment of Cactus tests 
+          (<code>&lt;cactifywar&gt;</code>) and the 
+          start/stop/configuration of your container 
+          (<code>&lt;cactus&gt;</code>). Note that you can also use the 
+          custom <code>&lt;runservertests&gt;</code> Ant task which allows you 
+          to use your existing container configuration should you wish to.
+        </li>
+        <li>
+          Using the Cactus <a href="maven/index.html">Maven 
+          plugin</a>. As with the Ant tasks this plugin offers a fully 
+          automated solution to deploy and execute Cactus tests.
+        </li>
+      </ul>
+
+    </div>
+
+  
+
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">&#169;  
+          2001-2009
+    
+          Apache Software Foundation
+          
+  
+
+  
+    
+  
+  
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>

Propchange: jakarta/site/docs/cactus/integration/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: jakarta/site/docs/cactus/integration/integration_browser.html
URL: http://svn.apache.org/viewvc/jakarta/site/docs/cactus/integration/integration_browser.html?rev=1696636&view=auto
==============================================================================
--- jakarta/site/docs/cactus/integration/integration_browser.html (added)
+++ jakarta/site/docs/cactus/integration/integration_browser.html Wed Aug 19 17:50:26 2015
@@ -0,0 +1,654 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+<html>
+  <head>
+
+
+    <title>Jakarta Cactus - 
+    Running Cactus tests from a browser</title>
+    <style type="text/css" media="all">
+      @import url("http://jakarta.apache.org/cactus/css/maven-base.css");
+      @import url("http://jakarta.apache.org/cactus/css/maven-theme.css");
+      @import url("http://jakarta.apache.org/cactus/css/site.css");
+    </style>
+    <link rel="stylesheet" href="http://jakarta.apache.org/cactus/css/print.css" type="text/css" media="print" />
+        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+      </head>
+  <body class="composite">
+
+
+<div style="background: red"><h1>2011/08/05 - Jakarta Cactus has been retired. </h1><h2>For more information, please explore the <a href="http://attic.apache.org/">Attic</a>. </h2></div>
+    <div id="banner">
+                  <a href="" id="bannerLeft">
+    
+                                            <img src="http://jakarta.apache.org/cactus/images/logocactus.gif" alt="" />
+    
+            </a>
+                        <a href="http://jakarta.apache.org/cactus/" id="bannerRight">
+    
+                                            <img src="http://jakarta.apache.org/cactus/images/jakarta-logo.gif" alt="" />
+    
+            </a>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+          
+  
+
+  
+    
+  
+  
+            <div class="xleft">
+        Last Published: 01/18/2009
+                          |   
+          <a href="http://www.apache.org/">Apache</a>
+              &gt;
+      
+          <a href="http://www.jakarta.apache.org/">Jakarta</a>
+              &gt;
+      
+          <a href="http://jakarta.apache.org/cactus/">Cactus</a>
+                        </div>
+            <div class="xright">      
+  
+
+  
+    
+  
+  
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+           
+  
+
+  
+    
+  
+  
+                   <h5>About</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/index.html">Overview</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/goals.html">Goals</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/features.html">Features</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/news.html">News</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/downloads.html">Downloads</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10471">Bug Database</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/mail-lists.html">Mailing Lists</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/faq.html">FAQ</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://wiki.apache.org/jakarta-cactus/FrontPage">Wiki</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/license.html">License</a>
+        </li>
+          </ul>
+          <h5>Project Documentation</h5>
+        <ul>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/project-info.html">Project Information</a>
+              </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/project-reports.html">Project Reports</a>
+              </li>
+          </ul>
+          <h5>Documentation</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/getting_started.html">Getting started</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/how_it_works.html">How it works</a>
+        </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/writing/howto_ejb.html">Writing tests</a>
+              </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+                  
+            
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+                  
+      
+            
+      
+            
+      
+                  
+      
+            
+      
+            
+      
+              
+            <li class="expanded">
+              <a href="http://jakarta.apache.org/cactus/integration/index.html">Running tests</a>
+                <ul>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/manual/index.html">Manual</a>
+        </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/eclipse/index.html">Eclipse</a>
+        </li>
+                  
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/integration/ant/index.html">Ant</a>
+              </li>
+                  
+    <li class="none">
+              <strong>Browser</strong>
+        </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/howto_tomcat.html">Tomcat</a>
+        </li>
+                  
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/integration/maven/index.html">Maven</a>
+              </li>
+                  
+                
+              
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/integration/maven2/index.html">Maven2</a>
+              </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/integration_jetty.html">Jetty</a>
+        </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/howto_ide.html">Various IDEs</a>
+        </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/howto_junitee.html">JUnitEE</a>
+        </li>
+              </ul>
+        </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/participating/index.html">Participating</a>
+              </li>
+          </ul>
+          <h5>Miscellaneous</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/cactusname.html">Why the name</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/mock_vs_cactus.html">Mock vs Container</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://wiki.apache.org/jakarta-cactus/TestedOn">Tested On...</a>
+        </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/resources/index.html">Resources</a>
+              </li>
+          </ul>
+          <h5>Translations</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://www.ressources-java.net/cactus">French</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache-korea.org/cactus/index.html">Korean</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://www.jajakarta.org/cactus/">Japanese</a>
+        </li>
+          </ul>
+          <h5>See also</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://www.apachebookstore.com/">Apache Bookstore</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://www.planetapache.org/">Planet Apache</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://apache.org/foundation/thanks.html">Apache Sponsors</a>
+        </li>
+          </ul>
+                                             
+                        
+                        
+            <a href="http://jakarta.apache.org/cactus/" title="Jakarta Cactus" id="poweredBy">
+                            <img alt="Jakarta Cactus" src="http://jakarta.apache.org/cactus/images/cactusbanner.gif" />
+            </a>
+                               
+  
+
+  
+    
+  
+  
+        </div>
+    </div>
+    <div id="bodyColumn">
+      <div id="contentBox">
+        
+
+  
+
+  
+
+    <a name="Running Cactus tests from a browser"></a><div class="section"><h2>Running Cactus tests from a browser</h2>
+
+      <note>
+        This section only applies for Cactus 1.4 and greater.
+      </note>
+
+      <a name="Step 1: Setting up the classpath"></a><div class="section"><h2>Step 1: Setting up the classpath</h2>
+
+        <p>
+          In order to run Cactus tests from a browser you need to have a webapp
+          containing your classes to test and your test classes. In addition,
+          both Cactus client side and server side jar classes must be able to be
+          loaded from your webapp (i.e located in your <code>WEB-INF/lib</code>
+          directory or in a location available through your container Context
+          class loader (refer to your container documentation).
+        </p>
+
+        <note>
+		Refer to the <a href="manual/howto_classpath.html">Classpath Howto</a>
+          guide for the exact list of jars.
+        </note>
+
+      </div>
+
+      <a name="Step 2: Mapping the Cactus Servlet Test Runner"></a><div class="section"><h2>Step 2: Mapping the Cactus Servlet Test Runner</h2>
+
+        <p>
+          Then, in addition to the Cactus redirectors that you have mapped in
+          your <code>web.xml</code> (see the
+	  <a href="manual/howto_config.html">Configuration howto</a>), you also
+          need to map the Cactus Servlet Test Runner, as follows:
+        </p>
+
+<div class="source"><pre>
+[...]
+&lt;servlet&gt;
+    &lt;servlet-name&gt;ServletTestRunner&lt;/servlet-name&gt;
+    &lt;servlet-class&gt;
+        org.apache.cactus.server.runner.ServletTestRunner
+    &lt;/servlet-class&gt;
+&lt;/servlet&gt;
+[...]
+&lt;servlet-mapping&gt;
+    &lt;servlet-name&gt;ServletTestRunner&lt;/servlet-name&gt;
+    &lt;url-pattern&gt;/ServletTestRunner&lt;/url-pattern&gt;
+&lt;/servlet-mapping&gt;
+[...]
+</pre></div>
+
+      </div>
+
+      <a name="Step 3: Executing the tests"></a><div class="section"><h2>Step 3: Executing the tests</h2>
+
+        <p>
+          Open a browser and type <code>http://server:port/mywebapp/ServletTestRunner?suite=mytestcase</code>
+          where:
+        </p>
+        <ul>
+          <li>
+            <code>server:port</code> is the name of your server machine and
+            port on which your container is running
+          </li>
+          <li>
+            <code>mywebapp</code> is the name of your webapp (usually the name
+            of your war file)
+          </li>
+          <li>
+            <code>mytestcase</code> is the fully qualified name (i.e. with
+            packages) of your <code>TestCase</code> class containing a
+            <code>suite()</code> method listing all the tests, in standard
+            JUnit fashion.
+          </li>
+        </ul>
+
+        
+          Here is an example of what you will get:<br></br>
+          <center>
+          <img src="http://jakarta.apache.org/cactus/images/servlettestrunner_xml.jpg" alt="XML output of ServletTestRunner"></img>
+         </center>
+        
+
+        <note>
+          If you see a blank page, click on the View source option of your 
+          browser. It means your browser doesn't know how to display XML data.
+        </note>
+        
+        
+          Ok, that's nice ... But what if I want HTML instead of XML? Don't
+          worry there is a solution. Grab the following
+	  <a href="http://jakarta.apache.org/cactus/misc/cactus-report.xsl">XSLT stylesheet</a>
+          (based on the stylesheet used by the
+          <strong>&lt;junitreport&gt;</strong> Ant task), drop it in your
+          webapp and name it <code>cactus-report.xsl</code> (in the root
+          directory for example). Then, open a browser and type
+          <code>http://server:port/mywebapp/ServletTestRunner?suite=mytestcase&amp;xsl=cactus-report.xsl</code>.
+          You should see the following:
+        
+        
+        <center>
+        <img src="http://jakarta.apache.org/cactus/images/servlettestrunner_html.jpg" alt="HTML output of ServletTestRunner"></img>
+        </center>
+        
+        <note>
+          This will work with Internet Explorer as the XSL transformation is
+          performed on the client side (i.e by the browser). I'm not sure
+          about other browsers.
+        </note>
+
+      </div>
+
+      <a name="Enabling Server-Side XSLT Transformations"></a><div class="section"><h2>Enabling Server-Side XSLT Transformations</h2>
+
+        <p>
+          In the previous section, the XSLT transformation was performed on the 
+          client. This requires a browser capable of doing XSLT transformations 
+          in a standards-compliant manner, and requires adding the location of 
+          the stylesheet as a request parameter.
+        </p>
+
+        <p>
+          Since Cactus 1.5, the ServletTestRunner can also perform the 
+          transformation on the server-side. To enable that feature, make sure
+          that a JAXP compliant XSLT processor (such as 
+	  <a href="http://xml.apache.org/xalan-j/">Xalan</a>) is available to the 
+          web-application.
+        </p>
+
+        <p>
+          In addition, the location of the XSLT stylesheet needs to specified as
+          initialization parameter of the ServletTestRunner. For example:
+        </p>
+
+    <div class="source"><pre>
+[...]
+&lt;servlet&gt;
+    &lt;servlet-name&gt;ServletTestRunner&lt;/servlet-name&gt;
+    &lt;servlet-class&gt;
+        org.apache.cactus.server.runner.ServletTestRunner
+    &lt;/servlet-class&gt;
+    &lt;init-param&gt;
+        &lt;param-name&gt;xsl-stylesheet&lt;/param-name&gt;
+        &lt;param-value&gt;styles/cactus-report.xsl&lt;/param-value&gt;
+    &lt;/init-param&gt;
+&lt;/servlet&gt;
+[...]
+</pre></div>
+
+        <p>
+          The specified path is relative to the root of the web-application. Of 
+          course, the stylesheet needs to exist at that location. In contrast to
+          client-side transformations, the stylesheet may be placed somewhere
+          inside the <code>WEB-INF</code> directory, because clients do not need
+          to access it directly.
+        </p>
+
+        <p>
+          If all of the above is correctly set up, you can enable the actual
+          transformation by including a <code>transform</code> parameter with
+          the request (the value of the parameter does not matter). For example
+        </p>
+
+    <div class="source"><pre>
+http://server:port/mywebapp/ServletTestRunner?suite=mytestcase&amp;transform=yes
+</pre></div>
+
+        <note>
+          The stylesheet specified as initialization parameter is loaded when 
+          the ServletTestRunner gets initialized. Changes to the stylesheet will
+          not get picked up until the web-application is reloaded.
+        </note>
+
+      </div>
+
+    </div>
+
+  
+
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">&#169;  
+          2001-2009
+    
+          Apache Software Foundation
+          
+  
+
+  
+    
+  
+  
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>

Propchange: jakarta/site/docs/cactus/integration/integration_browser.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: jakarta/site/docs/cactus/integration/integration_jetty.html
URL: http://svn.apache.org/viewvc/jakarta/site/docs/cactus/integration/integration_jetty.html?rev=1696636&view=auto
==============================================================================
--- jakarta/site/docs/cactus/integration/integration_jetty.html (added)
+++ jakarta/site/docs/cactus/integration/integration_jetty.html Wed Aug 19 17:50:26 2015
@@ -0,0 +1,589 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+<html>
+  <head>
+
+
+    <title>Jakarta Cactus - 
+    Jetty Integration</title>
+    <style type="text/css" media="all">
+      @import url("http://jakarta.apache.org/cactus/css/maven-base.css");
+      @import url("http://jakarta.apache.org/cactus/css/maven-theme.css");
+      @import url("http://jakarta.apache.org/cactus/css/site.css");
+    </style>
+    <link rel="stylesheet" href="http://jakarta.apache.org/cactus/css/print.css" type="text/css" media="print" />
+        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+      </head>
+  <body class="composite">
+
+
+<div style="background: red"><h1>2011/08/05 - Jakarta Cactus has been retired. </h1><h2>For more information, please explore the <a href="http://attic.apache.org/">Attic</a>. </h2></div>
+    <div id="banner">
+                  <a href="" id="bannerLeft">
+    
+                                            <img src="http://jakarta.apache.org/cactus/images/logocactus.gif" alt="" />
+    
+            </a>
+                        <a href="http://jakarta.apache.org/cactus/" id="bannerRight">
+    
+                                            <img src="http://jakarta.apache.org/cactus/images/jakarta-logo.gif" alt="" />
+    
+            </a>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+          
+  
+
+  
+    
+  
+  
+            <div class="xleft">
+        Last Published: 01/18/2009
+                          |   
+          <a href="http://www.apache.org/">Apache</a>
+              &gt;
+      
+          <a href="http://www.jakarta.apache.org/">Jakarta</a>
+              &gt;
+      
+          <a href="http://jakarta.apache.org/cactus/">Cactus</a>
+                        </div>
+            <div class="xright">      
+  
+
+  
+    
+  
+  
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+           
+  
+
+  
+    
+  
+  
+                   <h5>About</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/index.html">Overview</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/goals.html">Goals</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/features.html">Features</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/news.html">News</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/downloads.html">Downloads</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10471">Bug Database</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/mail-lists.html">Mailing Lists</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/faq.html">FAQ</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://wiki.apache.org/jakarta-cactus/FrontPage">Wiki</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/license.html">License</a>
+        </li>
+          </ul>
+          <h5>Project Documentation</h5>
+        <ul>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/project-info.html">Project Information</a>
+              </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/project-reports.html">Project Reports</a>
+              </li>
+          </ul>
+          <h5>Documentation</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/getting_started.html">Getting started</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/how_it_works.html">How it works</a>
+        </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/writing/howto_ejb.html">Writing tests</a>
+              </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+                  
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+                  
+      
+            
+      
+            
+      
+                  
+            
+            
+      
+            
+      
+              
+            <li class="expanded">
+              <a href="http://jakarta.apache.org/cactus/integration/index.html">Running tests</a>
+                <ul>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/manual/index.html">Manual</a>
+        </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/eclipse/index.html">Eclipse</a>
+        </li>
+                  
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/integration/ant/index.html">Ant</a>
+              </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/integration_browser.html">Browser</a>
+        </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/howto_tomcat.html">Tomcat</a>
+        </li>
+                  
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/integration/maven/index.html">Maven</a>
+              </li>
+                  
+                
+              
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/integration/maven2/index.html">Maven2</a>
+              </li>
+                  
+    <li class="none">
+              <strong>Jetty</strong>
+        </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/howto_ide.html">Various IDEs</a>
+        </li>
+                  
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/integration/howto_junitee.html">JUnitEE</a>
+        </li>
+              </ul>
+        </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/participating/index.html">Participating</a>
+              </li>
+          </ul>
+          <h5>Miscellaneous</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/cactusname.html">Why the name</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache.org/cactus/mock_vs_cactus.html">Mock vs Container</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://wiki.apache.org/jakarta-cactus/TestedOn">Tested On...</a>
+        </li>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+              <a href="http://jakarta.apache.org/cactus/resources/index.html">Resources</a>
+              </li>
+          </ul>
+          <h5>Translations</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://www.ressources-java.net/cactus">French</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://jakarta.apache-korea.org/cactus/index.html">Korean</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://www.jajakarta.org/cactus/">Japanese</a>
+        </li>
+          </ul>
+          <h5>See also</h5>
+        <ul>
+              
+    <li class="none">
+              <a href="http://www.apachebookstore.com/">Apache Bookstore</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://www.planetapache.org/">Planet Apache</a>
+        </li>
+              
+    <li class="none">
+              <a href="http://apache.org/foundation/thanks.html">Apache Sponsors</a>
+        </li>
+          </ul>
+                                             
+                        
+                        
+            <a href="http://jakarta.apache.org/cactus/" title="Jakarta Cactus" id="poweredBy">
+                            <img alt="Jakarta Cactus" src="http://jakarta.apache.org/cactus/images/cactusbanner.gif" />
+            </a>
+                               
+  
+
+  
+    
+  
+  
+        </div>
+    </div>
+    <div id="bodyColumn">
+      <div id="contentBox">
+        
+
+  
+
+  
+
+    <a name="Forewords and Requirements"></a><div class="section"><h2>Forewords and Requirements</h2>
+
+      <p>
+        This page explains how to run Cactus tests with the Jetty servlet
+	container. You will need the single <a href="http://mortbay.org/jetty/">Jetty</a>
+        jar, and if you are using JSPs you will also need the Jasper jars.
+      </p>
+
+    </div>
+    
+    <a name="Setting up Jetty"></a><div class="section"><h2>Setting up Jetty</h2>
+
+      <p>
+        The idea is to use the 
+        <code>org.apache.cactus.extension.jetty.JettyTestSetup</code> JUnit
+        TestSetup class provided by Cactus so that Jetty is started before the 
+        tests are run.
+      </p>
+      <p>
+        In order to use the TestSetup, you need to wrap your test suite in 
+        <code>JettyTestSetup</code>:
+      </p>
+<div class="source"><pre>
+public class TestJettyAll extends TestCase
+{
+    public static Test suite()
+    {
+        TestSuite suite = new TestSuite();
+        suite.addTestSuite(MyTestClass1.class);
+        [...]
+        suite.addTestSuite(MyTestClassN.class);
+        
+        return new JettyTestSetup(suite);
+    }        
+</pre></div>
+      
+      <p>
+        You can configure the Jetty TestSetup either programatically or
+        with system properties:
+      </p>
+      <ul>
+        <li>
+          The method <code>setConfigFile(File)</code> or the system property
+          <code>cactus.jetty.config</code> sets the location of an optional
+          jetty.xml file (see Jetty's documentation for details).
+        </li>
+        <li>
+          The method <code>setResourceDir(File)</code> or the system property
+          <code>cactus.jetty.resourceDir</code> sets the directory containing
+          the web-application resources (expanded WAR). If you omit this step,
+          you'll only be able to use the Servlet Redirector.
+        </li>
+      </ul>
+      
+        In both cases, the value set programatically takes precendence over the
+        value of the corresponding system property.
+      
+      <note>
+        If you're using JSPs you'll need to add the Jasper jars to your 
+        runtime Classpath (in addition to the Jetty jar).
+      </note>      
+
+      <a name="Example 1: Running from Ant"></a><div class="section"><h2>Example 1: Running from Ant</h2>
+
+        
+          Let's assume we have a JUnit task that launches the tests.
+          We need to add the Jetty jar and optionally the Jasper jars
+          (if we use JSPs) to the runtime classpath. Then, all we have 
+          to do is add the correct VM arguments to configure
+          the <code>JettyTestSetup</code> behavior. For example:
+        
+<div class="source"><pre>
+&lt;junit&gt;
+
+    [...]
+    
+    &lt;jvmarg value=&quot;-Dcactus.contextURL=http://localhost:${test.port}/test&quot;/&gt;
+    &lt;jvmarg value=&quot;-Dcactus.jetty.resourceDir=${src.webapp.dir}&quot;/&gt;
+    &lt;jvmarg value=&quot;-Dcactus.jetty.config=${src.webapp.dir}/test/jetty.xml&quot;/&gt;
+
+    &lt;classpath&gt;
+        [...]
+        &lt;!-- Include Jetty jar and optionally Jasper jars in the classpath --&gt;
+        &lt;pathelement location=&quot;${jetty.jar}&quot;/&gt;
+        &lt;pathelement location=&quot;${jasper-compiler.jar}&quot;/&gt;
+        &lt;pathelement location=&quot;${jasper-runtime.jar}&quot;/&gt;    
+    &lt;/classpath&gt;
+    
+    &lt;test name=&quot;org.apache.cactus.sample.TestJettyAll&quot;/&gt;
+
+&lt;/junit&gt;
+</pre></div>
+
+      </div>
+
+      <a name="Example 2: Running from an IDE"></a><div class="section"><h2>Example 2: Running from an IDE</h2>
+
+        <p>
+          Again all you have to do is add the correct VM arguments, and the
+          Jetty and Jasper jars, to the JUnit launch.
+        </p>
+        <p>
+          For example in Eclipse you would add the jars, and create a JUnit
+          launch configuration as below:
+        </p>
+        <img src="http://jakarta.apache.org/cactus/images/jetty_eclipse.png" alt="Eclipse configuration for Jetty"></img>
+
+      </div>
+
+    </div>
+  
+
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">&#169;  
+          2001-2009
+    
+          Apache Software Foundation
+          
+  
+
+  
+    
+  
+  
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>

Propchange: jakarta/site/docs/cactus/integration/integration_jetty.html
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message