So I've done:

mvn archetype:create -DarchetypeGroupId=org.apache.cocoon -DarchetypeArtifactId=cocoon-22-archetype-block -DarchetypeVersion=1.0.0-SNAPSHOT -DgroupId=com.mycompany -DartifactId=myBlock

cd myBlock

mvn package

mvn cocoon:deploy

mvn jetty6:run

and I have a working webapp! That's awesome.

Still this way I am not able to create a war file. Do I need cocoon-22-archetype-webapp for that? Does that mean that even simplest application needs 2 maven modules?

I like that I can now integrate cocoon spring beans with my own application contexts. How do I setup cocoon beans in test cases?

--
Leszek Gawron                                      [EMAIL PROTECTED]
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Reply via email to