jantje pisze:
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;

Why do you need to use install:install-file?

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..

Without detailed error message nobody will be able to help I guess.

--
Grzegorz Kossakowski

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to