Reinhard Poetz wrote:
Jean-Baptiste Quenot wrote:
+0

I  don't  think  it's  a  good   idea  to  run  Cocoon  2.2  using
"mvn jetty6:run".  Basically if you use  Maven 2 you have no other
choice than running a beta version of Jetty.

I   made  some   tests  (outside   the  scope   of  Cocoon),   and
encountered  problems  with Jetty  6  Beta,  which appears  to  be
shaky.   If you  feel  confident, then  at least  be  sure to  use
version >= 6.0.0beta17.

But the point is:  it's not up to the build  system to decide what
servlet container  needs to be  used at runtime.  Do  you remember
Sylvain [1]talking about Ant+Ivy one and  a half year ago?  He was
right: Ivy *just*  downloads artifacts in a  local repository, and
that solves 99% of Maven 2 problems.  Ivy does little, but it does
it well.   In our current project  we [2]switched from Maven  2 to
Ant+Ivy recently, and life is much better now.  We trust the build
system again,  and we are able  to run any servlet  container like
before.

The good  news is that  Ivy is  compatible with Maven  2 directory
layout,  and  is  able  to  read POMs.   In  short,  it  does  not
require reorganizing  the source tree  all over again: it  is very
unintrusive.

your observations regarding Jetty 6 are interesting but I don't understand how this relates to Cocoon and that it uses Maven 2 as build system?
Exactly .. Jetty is just used to start a webapp for development purposes. You can easily take packaged cocoon webapp and use it just like 2.1.x.


--
Leszek Gawron                                      [EMAIL PROTECTED]
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Reply via email to