cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <g...@tuffmail.com>
Subject Re: Not able to create and test cocoon2.2 webapp with maven/jetty
Date Tue, 19 Aug 2008 12:00:36 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message