David Legg pisze:
I've been prompted by the recent C2.2 release announcement to follow the
web tutorial [1].
On the whole it's been very good but I've come across a stumbling block
(no pun intended!) toward the end of the series. Having got to the part
which talks about deploying web applications [2] the text under the
sub-heading "Using a block within the web application" says to use: -
mvn package jetty:run
to get the newly created Cocoon web application to run. Unfortunately,
I get the following which makes me suspect a step in the instructions is
missing somewhere: -
D:\projects\cocoon\getting-started-app\myCocoonWebapp>mvn package jetty:run
[...]
Missing:
----------
1) com.mycompany:myBlock1:jar:1.0-SNAPSHOT
[...]
Yep, there is missing step in tutorials. Go to myBlock1/ and execute:
mvn install
then do the same for myBlock2. This will install blocks into local Maven repository so
myCocoonWebapp can find them. Then you can return to back to the tutorial on deployment.
I hope that helps you.
PS. Thanks for reporting, I'll fix this right away.
--
Grzegorz Kossakowski
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]