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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to