cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jantje <janvanop...@skynet.be>
Subject Not able to create and test cocoon2.2 webapp with maven/jetty
Date Tue, 19 Aug 2008 11:37:16 GMT

Hi there, I am not able to create a working cocoon webapp and test it with
maven/jetty.

Does someone know what is wrong with the next steps? Thanks for your reply!
cd project/build/blocks;
mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
-DarchetypeArtifactId=cocoon-22-archetype-block -DarchetypeVersion=1.0.0
-DgroupId=project.be -DartifactId=ajaxBlock;
In pom:
  <name>ajaxBlock</name>
  <groupId>project</groupId>
  <artifactId>ajaxBlock</artifactId>
  <version>1.0</version>

cd project/build/blocks/ajaxBlock;
mvn jetty:run; ### testing!
mvn package;
mvn install:install-file -DgroupId=project.be -DartifactId=ajaxBlock
-Dversion=1.0 -Dpackaging=jar -Dfile=target/ajaxBlock-1.0.jar;

cd project/build/blocks ###create cocoon webapp
mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
-DarchetypeArtifactId=cocoon-22-archetype-webapp -DarchetypeVersion=1.0.0
-DgroupId=project.be -DartifactId=cocoon-webapp;
in pom:
  <name>cocoon-webapp</name>
  <groupId>project</groupId>
  <artifactId>cocoon-webapp</artifactId>
  <version>1.0</version>

cd project/build/blocks/cocoon-webapp
mvn:package ### untill here everything works
mvn jetty:run; ### this gives errors..

Is there soms step I am missing?

Thanks..
-- 
View this message in context: http://www.nabble.com/Not-able-to-create-and-test-cocoon2.2-webapp-with-maven-jetty-tp19048077p19048077.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message