cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: Debugging Cocoon in Eclipse
Date Fri, 29 Dec 2006 14:54:16 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/1301.html

Document ID: 1301
Branch: main
Language: default
Name: Debugging Cocoon in  Eclipse (previously Debugging Cocoon)
Document Type: Cocoon Document (unchanged)
Updated on: 12/29/06 2:54:07 PM
Updated by: Reinhard Pötz

A new version has been created, state: draft

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 1418 bytes (previous version: 37 bytes)
Content diff:
--- <html><body><p>TODO</p></body></html>
+++ <html>
+++ <body>
+++ 
+++ <p>This tutorial describes how you can run Cocoon in debug mode in Eclipse. Make
+++ sure that you have a working Cocoon web application. This tutorial assumes that
+++ you have the  <a href="daisy:1159">Your first Cocoon application using Maven
+++ 2</a> and the <a href="daisy:1297">Reloading classloader</a> tutorials
+++ completed.</p>
+++ 
+++ <h1>Step 1: Download Jetty 6</h1>
+++ 
+++ <p>First, <a href="http://dist.codehaus.org/jetty/">download</a> Jetty
6 and
+++ extract it into a directory of choice. You only have to make sure that it is not
+++ a subdirectory of an Eclipse project that is added to your Eclispe workspace.
+++ </p>
+++ 
+++ <p class="note">The instructions of this tutorial were tested with Jetty 6.0.2.
+++ </p>
+++ 
+++ <h1>Step 2: Configure Jetty</h1>
+++ 
+++ <p>Copy <tt>./etc/jetty.xml</tt> to <tt>./etc/cocoon-debug.xml
</tt>and make
+++ following changes:</p>
+++ 
+++ <pre>...</pre>
+++ 
+++ <h1>Step 3: Load your projects into Eclipse</h1>
+++ 
+++ <h1>Step 4: Create an Eclipse project 'cocoon-debug' in your workspace</h1>
+++ 
+++ <p>[screenshot: new project]</p>
+++ 
+++ <p>[screenshot: set project dependencies]</p>
+++ 
+++ <p class="note">If available, the Maven Eclipse plugin can download the sources
+++ of the libraries your project depends on. For this purpose use the
+++ <tt>-DdownloadSources=true</tt> property: mvn <tt>eclipse:eclipse
+++ -DdownloadSources=true</tt></p>
+++ 
+++ <h1>Step 5: Create debugging configuration in Eclipse</h1>
+++ 
+++ <h1>Step 6: Start debugging</h1>
+++ 
+++ </body>
+++ </html>


Mime
View raw message