-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Bart Molenkamp wrote: > Hi, > > I found three tutorials on the internet about how to debug Maven web > applications in Eclipse. All three seem to work to debug Cocoon 2.2 in > Eclipse as well (first very basic tests). Here are the links, maybe it's > worth linking to them from the Cocoon 2.2 documentation. > > http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Pl > ugin+inside+Eclipse > > http://docs.codehaus.org/display/MAVENUSER/Dealing+with+Eclipse-based+ID > E > > http://mahertb.blogspot.com/2006/08/debugging-maven-web-application-with > .html > > I'm also wondering if there is a way for the jetty plugin to work on the > webapp source directory directly (src/main/resources/COB-INF) instead of > copying stuff to target/my-block-1.0.0-SNAPSHOT/. For me, it's not > really an option to stop/rebuild/start for every sitemap change, > flowscript change, etc. Changing sources under > target/my-block-1.0.0-SNAPSHOT and copying them back to the source > directory isn't really an option for me either. > > Does someone have a good idea about how to do this? I've solved it (until Reinhard gets reloading classloader stuff working) by configuring the jetty plugin with a <scanIntervalSeconds>10</scanIntervalSeconds> which causes the jetty-plugin to scan the webapp in 10 secs intervals for new things (given your IDE can rebuild/copy things over to the target/classes directory) and restarts the webapp. HTH - -- Otego AG Tel: +41 (0)1 240 00 55 Giacomo Pati, CTO Mobile:+41 (0)79 262 21 04 Apache Software Foundation Member Mailto:[EMAIL PROTECTED] Hohlstrasse 216 Mailto:[EMAIL PROTECTED] CH-8004 Zuerich http://www.otego.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFf+SgLNdJvZjjVZARArRlAJ9fq9tOf0Ew8lLGisA4U260GrviyQCgq9R/ lpv7amci75dMTuE7kRwszc0= =IlIB -----END PGP SIGNATURE-----