A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/1159.html
Document ID: 1159
Branch: main
Language: default
Name: Your first Cocoon application using Maven 2 (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 12/28/06 4:22:30 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: 5833 bytes (previous version: 5822 bytes)
Content diff:
<html>
<body>
--- <p>Introduction: "Everything is a block"</p>
---
<h1>Creating a Cocoon web application</h1>
<p>First, make sure that you have Maven 2.0.4 or above installed. You can
check
(15 equal lines skipped)
-DartifactId=myWebapp
</pre>
--- <p class="note">Once again for copy and paste without line feeds:<br/>
+++ <p class="note">For copy and paste without line feeds:<br/>
<tt>mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
-DarchetypeArtifactId=cocoon-22-archetype-webapp -DarchetypeVersion=1.0.0-M1
--- -DgroupId=com.mycompany -DartifactId=myCocoonWebapp</tt></p>
+++ -DgroupId=com.mycompany -DartifactId=myWebapp</tt></p>
<h1>Creating a block</h1>
<p>The next step is creating a Cocoon block which will contain your custom
--- application. Remember, everything in Cocoon 2.2 is a block. Again, for this
--- purpose there is a Maven archetype:</p>
+++ application. The development of any Cocoon web application is done within a
+++ block. Again, for this purpose there is a Maven archetype:</p>
<pre>mvn archetype:create
-DarchetypeGroupId=org.apache.cocoon
-DarchetypeArtifactId=cocoon-22-archetype-block
-DarchetypeVersion=1.0.0-M4
-DgroupId=com.mycompany
--- -DartifactId=myBlock
+++ -DartifactId=myBlock1
</pre>
<p class="note">Once again for copy and paste without line feeds:<br/>
(83 equal lines skipped)
getting-started documents:</p>
<ul>
--- <li>Usage of the reloading classloader plugin<br/>
+++ <li><a href="daisy:1297">Usage of the reloading classloader plugin</a><br/>
The reloading classloader plugin enables rapid development of Cocoon
applications since you don't have to restart the servlet container whenever
one
of your Java classes changes. Additionally it provides all settings to
enable
the reload of Cocoon resources too.</li>
--- <li>Your first XML pipeline<br/>
+++ <li><a href="daisy:1290">Your first XML pipeline</a><br/>
Cocoon is famous for XML pipelines. At this tutorial you will learn how to
setup
your first pipeline and will learn the most important things about Cocoon
sitemaps.</li>
(24 equal lines skipped)