cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [DAISY] Updated: Debugging Cocoon in Eclipse
Date Tue, 30 Jan 2007 04:54:06 GMT
A document has been updated:

Document ID: 1301
Branch: main
Language: default
Name: Debugging Cocoon in  Eclipse (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 1/18/07 10:33:11 AM
Updated by: Mark Lundquist

A new version has been created, state: draft


This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 7129 bytes (previous version: 6477 bytes)
Content diff:
(17 equal lines skipped)
    <h1>Using the Jetty Launcher</h1>
--- <ul>
--- <li>The <a href="">Jetty Launcher</a>
is an
--- Eclipse plugin that has to be installed. The best option is the
+++ <ol>
+++ <li>
+++ <a href="">Install</a>
+++ the <a href="">Jetty Launcher</a> Eclipse
+++ plugin using the plugin
    <a href="">update link</a>.</li>
    <li>After that, you have to
    <a href=";package_id=132252">download
    Jetty 5.1.x</a> and extract it to a directory of your choice.</li>
    <li>Then follow the excellent
    <a href="">Quick Start
    guide</a> that comes with the Eclipse plugin.</li>
--- <ul>
--- <li>Note: Update <tt>./etc/webdefaults.xml</tt> and comment in the JSR154
--- section as Cocoon makes use of it.</li>
--- </ul>
+++ </ol>
--- </ul>
+++ <p class="note">Jetty 5.1 does not support all of the Servlet 2.4 API, in
+++ particular the RequestAttributeListener which is used by Cocoon.  In order to
+++ run with the Jetty Launcher using Jetty 5.1, you must do the following
+++ additional steps:</p>
+++ <ol>
+++ <li>Copy etc/webdefault.xml from your Jetty 5.1 distribution to somewhere (e.g.,
+++ the root directory of your webapp Maven module)</li>
+++ <li>Edit webdefault.xml, un-comment the JSR154 section at the end; this will
+++ enable Jetty's grudging support of RequestAttributeListener :-)</li>
+++ <li>In the Eclipse Jetty Launcher setup dialog, check the "Use a custom
+++ webdefaults config file" and enter the path to your webdefaults.xml</li>
+++ </ol>
+++ <ol>
+++ </ol>
    <p>If you want to be able to debug code that is in one of your libraries,  you
    either have to add the source code to the dependency (if you use Maven 2 try
    <tt>mvn eclipse:eclipse -DdownloadSources</tt>) or if it is available as Eclipse
(103 equal lines skipped)

View raw message