-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 5 Jan 2006, Bertrand Delacretaz wrote:

Date: Thu, 5 Jan 2006 12:08:48 +0100
From: Bertrand Delacretaz <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: [M10N] Time to finish

Le 5 janv. 06, à 11:40, Daniel Fagerstrom a écrit :

 ...IIRC, all Cocoon with blocks included, where possible to build with M2
 a couple of months ago. Now just the core is built from the main POM. What
 is needed for building everything and create a working webapp?..

I haven't been able to test the Maven stuff lately, but I'd like to mention that the HtmlUnit tests will need to run under Maven once they're ported to 2.2.

Currently in 2.1x you need to start an instance of Cocoon with cocoon.sh, and run another JVM with "build.sh htmlunit-tests".

There is a jetty plugin for M2. Maybe that helps here.


I've seen some code (from Daniel IIRC) fly by, which uses a more integrated testing method, starting the servlet under test in the same JVM, but I don't know what the preferred way is with Maven. Of course, the 2.1.x way of running these tests is not suitable to automated continuous integration.

Dunno how much impact this has on the Maven stuff, just wanted to make sure this is not forgotten. And if someone has pointers on how to do this the right way, I hope to find some time to port these tests to 2.2. at some point.

-Bertrand



- -- Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDvTQPLNdJvZjjVZARAp88AKCJ2lduHAdhURUyew1HzIFdEknnrACdGGH7
z7rGDZ8R/mz5PBAWk+PzK7k=
=ijH4
-----END PGP SIGNATURE-----